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:
Murai Takashi 2019-06-08 11:53:01 +09:00 committed by waddlesplash
parent f5fb43c94f
commit a76e1eb3c7

View File

@ -229,7 +229,7 @@ compare(
}
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,
total / 1000.0,
(double)(it->user_time / 1000),