top(1): fix build on arches where size_t != ull
This commit is contained in:
parent
dd5dbb3199
commit
986a5bafb1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333956
@ -993,7 +993,7 @@ format_next_process(caddr_t xhandle, char *(*get_userid)(int), int flags)
|
||||
state < sizeof(state_abbrev) / sizeof(*state_abbrev))
|
||||
sprintf(status, "%.6s", state_abbrev[state]);
|
||||
else
|
||||
sprintf(status, "?%5lu", state);
|
||||
sprintf(status, "?%5zu", state);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user