diff options
Diffstat (limited to 'sbin/kldconfig/kldconfig.c')
-rw-r--r-- | sbin/kldconfig/kldconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/kldconfig/kldconfig.c b/sbin/kldconfig/kldconfig.c index 979ff2e66f97..3d48bf5cbfe7 100644 --- a/sbin/kldconfig/kldconfig.c +++ b/sbin/kldconfig/kldconfig.c @@ -119,7 +119,7 @@ getpath(void) err(1, "getting path: sysctl(%s) - size only", pathctl); if ((path = malloc(sz + 1)) == NULL) { errno = ENOMEM; - err(1, "allocating %u bytes for the path", sz+1); + err(1, "allocating %lu bytes for the path", (long)sz+1); } if (sysctl(mib, miblen, path, &sz, NULL, NULL) == -1) err(1, "getting path: sysctl(%s)", pathctl); |