]> granicus.if.org Git - procps-ng/commitdiff
misc: just a couple cosmetic changes for comments only
authorJim Warner <james.warner@comcast.net>
Sat, 19 Dec 2020 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@dropbear.xyz>
Mon, 28 Dec 2020 21:48:23 +0000 (08:48 +1100)
Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/pids.c
top/top.c

index c118c82ccedf2067a3fe874cd2af38fab3be04fe..4ac4efe51ecac5d9413c59de03f82e7f029849ba 100644 (file)
@@ -1422,7 +1422,8 @@ PROCPS_EXPORT int procps_pids_reset (
     // account for above PIDS_logical_end
     info->curitems = newnumitems + 1;
 
-    // if extents freed above, pids_stacks_alloc() will itemize ...
+    // if extents were freed above, this next guy will have no effect
+    // so we'll rely on pids_stacks_alloc() to itemize ...
     pids_itemize_stacks_all(info);
     pids_libflags_set(info);
 
index 535f945490b189b3993ff76c2d8b130e66644e8f..63580c5c65b8c3495ff2176c7178945ce23e2dc3 100644 (file)
--- a/top/top.c
+++ b/top/top.c
@@ -5313,7 +5313,7 @@ static void keys_xtra (int ch) {
         /*
          * note how alphabetical order is maintained within carefully chosen |
          * function names such as: (s)cpu_see, (t)cpu_tics, and (u)cpu_unify |
-         * with each name exactly 1 letter more than the preceeding function |
+         * with every name exactly 1 letter more than the preceding function |
          * ( surely, this must make us run much more efficiently. amirite? ) | */
 
         /*