aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/top
diff options
context:
space:
mode:
authorThomas Moestl <tmm@FreeBSD.org>2001-05-31 22:36:51 +0000
committerThomas Moestl <tmm@FreeBSD.org>2001-05-31 22:36:51 +0000
commite0038fe587b4949b54dcbdc3a25284e3d17e4d5a (patch)
tree257fb9ca6c3a1939cd9072578090d540a557dab3 /usr.bin/top
parentadf08670f2e177b314328046afa7a43d4cbbf08a (diff)
Notes
Diffstat (limited to 'usr.bin/top')
-rw-r--r--usr.bin/top/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index 04a3741a93a9..99ea02039360 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -604,8 +604,8 @@ size_t len;
quit(23);
}
if (nlen != len) {
- fprintf(stderr, "top: sysctl(%s...) expected %d, got %d\n", name,
- len, nlen);
+ fprintf(stderr, "top: sysctl(%s...) expected %lu, got %lu\n", name,
+ (unsigned long)len, (unsigned long)nlen);
quit(23);
}
}