Re: [announce] procps 2.0.11

Andreas Steinmetz (ast@domdv.de)
Wed, 18 Dec 2002 02:27:46 +0100


This is a multi-part message in MIME format.
--------------010306060100060602070706
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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.

--------------010306060100060602070706
Content-Type: text/plain;
name="procps.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="procps.diff"

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));

--------------010306060100060602070706--

-
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/