bin/top: Fix -Wformat=
Change-Id: Ie408017684313531f2dc18d9401cd54bb00a7e12 Reviewed-on: https://review.haiku-os.org/c/1515 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
f5fb43c94f
commit
a76e1eb3c7
@ -229,7 +229,7 @@ compare(
|
|||||||
}
|
}
|
||||||
if (!ignore && (!refresh || (linecount < (rows - 1)))) {
|
if (!ignore && (!refresh || (linecount < (rows - 1)))) {
|
||||||
|
|
||||||
printf("%6ld %7.2f %7.2f %7.2f %4.1f %16s %s \n",
|
printf("%6" B_PRId32 " %7.2f %7.2f %7.2f %4.1f %16s %s \n",
|
||||||
it->thid,
|
it->thid,
|
||||||
total / 1000.0,
|
total / 1000.0,
|
||||||
(double)(it->user_time / 1000),
|
(double)(it->user_time / 1000),
|
||||||
|
Loading…
Reference in New Issue
Block a user