]> granicus.if.org Git - procps-ng/commitdiff
misc: result after checking all files for misspellings
authorJim Warner <james.warner@comcast.net>
Wed, 6 Aug 2014 05:00:00 +0000 (00:00 -0500)
committerJaromir Capik <jcapik@redhat.com>
Fri, 8 Aug 2014 20:14:21 +0000 (22:14 +0200)
Reference(s):
https://github.com/lyda/misspell-check.git

Signed-off-by: Jim Warner <james.warner@comcast.net>
NEWS
pmap.c
proc/readproc.3
proc/readproctab.3
proc/sysinfo.c
ps/display.c

diff --git a/NEWS b/NEWS
index f55546d80a30c8f593d554432af05029bb16c876..7ddc8abebaa907f9b8775d03f8ce24403793f2a8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -42,7 +42,7 @@ procps-ng-3.3.8
     Debian #707648
   * eliminate the potential library segmentation fault
     Debian #706259, RedHat #951391
-  * top now accomodates a window manager like 'screen'
+  * top now accommodates a window manager like 'screen'
     RedHat #962022
   * ps shows systemd unit and user unit for a process
 
diff --git a/pmap.c b/pmap.c
index 66c1c2df73ef05321f33041b2ce5e543a915bb3e..7777a196f5996b866194b1dcdcbefa8447906174 100644 (file)
--- a/pmap.c
+++ b/pmap.c
@@ -615,7 +615,7 @@ static int one_proc(proc_t * p)
                                        continue;
                                }
                                if (strncmp("Swap", smap_key, 4) == 0) {
-                                       /*doesnt matter as long as last */
+                                       /*doesn't matter as long as last */
                                        printf("%0*" KLF "x %*lu %*llu %*llu %*s %s\n",
                                               maxw1, start,
                                               maxw2, (unsigned long)(diff >> 10),
index fd548d1d7e9deedee10919b44b238dbc57a943f7..ec65e2fcddb24a6412a2b8ba5d362faf5a4d0c01 100644 (file)
@@ -39,7 +39,7 @@ is not NULL, it will use the struct pointed at by
 .IR return_buf .
 Otherwise it will allocate a new
 .I proc_t
-stucture and return a pointer to it.
+structure and return a pointer to it.
 Note that (if so specified in
 .IR PT )
 readproc always allocates memory if it fills in the
index 45712d81992e67dee77a0c6f042d73b7bc86b882..d76350a380d0a1740e0e3a838740927571012c55 100644 (file)
@@ -28,7 +28,7 @@ readproctab, freeproctab  \- read information for all current processes at once
 .B readproctab
 reads information on all processes matching the criteria from
 .IR flags ,
-allocating memory for everthing as needed. It returns a
+allocating memory for everything as needed. It returns a
 NULL-terminated list of
 .I proc_t
 pointers. For more information on the arguments of
index 6b01397e3ff95a27a1f77dfee761e5fcef72d6c0..1876980501ea48fcf2e81ff2303f6ca7f7e379b8 100644 (file)
@@ -148,7 +148,7 @@ unsigned long getbtime(void) {
  * is the kernel clock tick rate. One of these units is called a jiffy.
  * The HZ value used in the kernel may vary according to hacker desire.
  * According to Linus Torvalds, this is not true. He considers the values
- * in /proc as being in architecture-dependant units that have no relation
+ * in /proc as being in architecture-dependent units that have no relation
  * to the kernel clock tick rate. Examination of the kernel source code
  * reveals that opinion as wishful thinking.
  *
index a8d952ad63bdd13188f54832ba325b741b996c63..a659cbf339f52f328ba26e8e59395570ccf004e7 100644 (file)
@@ -578,7 +578,7 @@ static void arg_check_conflicts(void)
     selection_list_len++;
   }
 
-  /* -q doesn't allow multiple occurences */
+  /* -q doesn't allow multiple occurrences */
   if (has_quick_pid > 1) {
     fprintf(stderr, "q/-q/--quick-pid can only be used once.\n");
     exit(1);