Messages in this thread Patch in this message | | | Date | Wed, 18 Dec 2002 02:27:46 +0100 | From | Andreas Steinmetz <> | Subject | Re: [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)); | |