Re: [announce] procps 2.0.11

From: Andreas Steinmetz (ast@domdv.de)
Date: Tue Dec 17 2002 - 20:27:46 EST


Andrei Ivanov wrote:
> top reports this:
>
> 7 root 18446744073709551615 -20 0 0 0 SW< 0.0 0.0 A0:00 0 mdrecoveryd
> 8 root 18446744073709551615 -20 0 0 0 SW< 0.0 0.0 0:00 0 raid1d
>
> is this strange or what ?
>

The attached patch does fix this.

diff -rNu procps-2.0.11-orig/top.c procps-2.0.11/top.c
--- procps-2.0.11-orig/top.c 2002-11-24 00:01:58.000000000 +0100
+++ procps-2.0.11/top.c 2002-12-17 20:36:28.000000000 +0100
@@ -1125,7 +1125,7 @@
                         if (task->priority < -99)
                                 sprintf(tmp, " RT ");
                         else
- sprintf(tmp, "%3llu ", task->priority);
+ sprintf(tmp, "%3lld ", task->priority);
                         break;
                 case P_NICE:
                         sprintf(tmp, "%3.3s ", scale_k(task->nice, 3, 0));

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Dec 23 2002 - 22:00:18 EST