diff options
Diffstat (limited to 'usr.bin/systat/fetch.c')
-rw-r--r-- | usr.bin/systat/fetch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/fetch.c b/usr.bin/systat/fetch.c index 94ef619..e583911 100644 --- a/usr.bin/systat/fetch.c +++ b/usr.bin/systat/fetch.c @@ -74,8 +74,8 @@ void getsysctl(name, ptr, len) strerror(errno)); } if (nlen != len) { - error("sysctl(%s...) expected %d, got %d", name, - len, nlen); + error("sysctl(%s...) expected %lu, got %lu", name, + (unsigned long)len, (unsigned long)nlen); } } |