]> granicus.if.org Git - procps-ng/commitdiff
top: make function prologue the same as newlib version
authorJim Warner <james.warner@comcast.net>
Wed, 27 Jul 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Wed, 27 Jul 2022 11:19:37 +0000 (21:19 +1000)
The change occurred under the newlib branch in a patch
that couldn't be ported dealing with MEMINFO_MEM_USED.

That required a library change whereas this is frozen.

Reference(s):
. Jun, 2022 - newlib branch change
commit 047d16ccfda6638eda78f56b67def196a2002b6f

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c

index 1a899cd686242be7ef9b57bc51d5f87b2eea1783..7d082e97f477e303a6358545cc6a60ca01e933c2 100644 (file)
--- a/top/top.c
+++ b/top/top.c
@@ -6277,7 +6277,7 @@ static void keys_xtra (int ch) {
          * ( surely, this must make us run much more efficiently. amirite? ) | */
 
         /*
-         * Cpu *Helper* function to show the percentages for one or two cpus |
+         * A *Helper* function to show summary information for up to 2 lines |
          * as a single line. We return the number of lines actually printed. | */
 static inline int sum_see (const char *str, int nobuf) {
    static char row[ROWMINSIZ];