mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Print size_t with %zu, not %d.
This commit is contained in:
parent
c5453cb4db
commit
ee6b783c62
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ main(int ac, char **av)
|
|||
if (st == -1)
|
||||
err(1, "could not sysctl(KERN_PROC)");
|
||||
if (size % sizeof(struct kinfo_proc) != 0) {
|
||||
fprintf(stderr, "proc size mismatch (%d total, %d chunks)\n",
|
||||
fprintf(stderr, "proc size mismatch (%zu total, %zu chunks)\n",
|
||||
size, sizeof(struct kinfo_proc));
|
||||
fprintf(stderr, "userland out of sync with kernel, recompile libkvm etc\n");
|
||||
exit(1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue