lkml.org 
[lkml]   [2002]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [announce] procps 2.0.11
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));
\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.040 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site