Description: fix minor spelling errors.
Author: Marcos Fouces <marcos@debian.org>
Bug: https://savannah.gnu.org/bugs/?57542
Last-Update: 2025-06-21

---
 NEWS            | 6 +++---
 accounting.info | 4 ++--
 accounting.texi | 8 ++++----
 al_share.cpp    | 2 +-
 last.c          | 2 +-
 5 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/NEWS b/NEWS
index 3dde199..3c429e2 100644
--- a/NEWS
+++ b/NEWS
@@ -22,7 +22,7 @@ New in 6.5.3:
 
 New in 6.5.1:
 
-  * GNUlib for compability, audited code... Reworked.
+  * GNUlib for compatibility, audited code... Reworked.
 
 New in 6.5:
 
@@ -49,7 +49,7 @@ New in 6.4:
   * The acct.h header file is now expected to be at <sys/acct.h>,
     the older <linux/acct.h> is ignored. As this file is not used
     at all when Linux multiformat is enabled (which is the default),
-    noone should notice this change anyways.
+    no one should notice this change anyways.
 
   * A bug with the ctime() function on 64 bit platforms was fixed.
 
@@ -107,7 +107,7 @@ New in 6.3.1:
   * We use `automake' to build the package, so things like ansi2knr
     should be called automatically for those of you that don't have
     ANSI C compilers.  It also helps write the install targets, etc.
-    Very cool.  I was suprised how easy it was to integrate into this
+    Very cool.  I was surprised how easy it was to integrate into this
     package.  Hats off to David J. MacKenzie and Tom Tromey!
 
 
diff --git a/accounting.info b/accounting.info
index a5f1b09..99ea46f 100644
--- a/accounting.info
+++ b/accounting.info
@@ -32,7 +32,7 @@ translation approved by the Foundation.
 File: accounting.info,  Node: Top,  Next: Preface,  Prev: (dir),  Up: (dir)
 
    Welcome to the GNU Accounting Utilities!  If you don't have a clue
-about the accounting utilities, read the introduction.  For specfic
+about the accounting utilities, read the introduction.  For specific
 information about any of the applications, see the chapter with the
 program's name.
 
@@ -394,7 +394,7 @@ another.
 
 For no fault of `ac''s, if two logins occur at the same time (within a
 second of each other), each `login' process will try to write an entry
-to the `wtmp' file.  With file system overhead, it is forseeable that
+to the `wtmp' file.  With file system overhead, it is foreseeable that
 the entries would get written in the wrong order.  GNU `ac'
 automatically compensates for this, but some other `ac's may not...
 beware.
diff --git a/accounting.texi b/accounting.texi
index 58c7126..cc8e845 100644
--- a/accounting.texi
+++ b/accounting.texi
@@ -75,7 +75,7 @@ approved by the Foundation.
 @node Top, Preface, (dir), (dir)
 
 Welcome to the GNU Accounting Utilities!  If you don't have a clue about
-the accounting utilities, read the introduction.  For specfic
+the accounting utilities, read the introduction.  For specific
 information about any of the applications, see the chapter with the
 program's name.
 
@@ -120,12 +120,12 @@ users and charge them through the nose for their CPU time...''
 
 The accounting utilities were born.
 
-Seriously though, the accouting utilities can provide a system
+Seriously though, the accounting utilities can provide a system
 administrator with useful information about system usage---connections,
 programs executed, and utilization of system resources.
 
 Information about users---their connect time, location, programs
-executed, and the like---is automatically recored in files by
+executed, and the like---is automatically recorded in files by
 @code{init} and @code{login}.  Four of them are of interest to us:
 @code{wtmp}, which has records for each login and logout;
 @code{acct}, which records each command that was run;
@@ -455,7 +455,7 @@ standard output.
 For no fault of @code{ac}'s, if two logins occur at the same time
 (within a second of each other), each @code{login} process will try to
 write an entry to the @code{wtmp} file.  With file system
-overhead, it is forseeable that the entries would get written in the
+overhead, it is foreseeable that the entries would get written in the
 wrong order.  GNU @code{ac} automatically compensates for this, but some
 other @code{ac}s may not...  beware.
 
diff --git a/al_share.cpp b/al_share.cpp
index 6f5a58f..96ec726 100644
--- a/al_share.cpp
+++ b/al_share.cpp
@@ -9,7 +9,7 @@
 
 /* This is the loop that handles the parsing of entries.  Since it's
    virtually identical for ac & last, I figured it was better to have
-   only one copy of it to reduce the possiblity of errors. */
+   only one copy of it to reduce the possibility of errors. */
 
 void parse_entries(void)
 {
diff --git a/last.c b/last.c
index bf17b26..8dd1daa 100644
--- a/last.c
+++ b/last.c
@@ -356,7 +356,7 @@ int main(int argc, char *argv[])
 
           hashtab_create (names, argv[optind], 0);
 
-          /* add the name as "tty<name>" for u*x compatibilty */
+          /* add the name as "tty<name>" for u*x compatibility */
 
           string = (char *) xmalloc ((strlen (argv[optind]) + 4)
                                      * sizeof (char));
