summaryrefslogtreecommitdiffstats
path: root/sbin/kldconfig
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-29 19:46:29 +0000
committerdd <dd@FreeBSD.org>2001-06-29 19:46:29 +0000
commit8d232144a3e4758c8a4a8500238cb227ce7500ac (patch)
treedf8ed5751a500e3dfa8e63c091684439c2869cf7 /sbin/kldconfig
parent7714b537e13be99571b9181b365912b7ac6a6947 (diff)
downloadFreeBSD-src-8d232144a3e4758c8a4a8500238cb227ce7500ac.zip
FreeBSD-src-8d232144a3e4758c8a4a8500238cb227ce7500ac.tar.gz
Silence warnings on the Alpha: don't assume size_t is an int.
Diffstat (limited to 'sbin/kldconfig')
-rw-r--r--sbin/kldconfig/kldconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/kldconfig/kldconfig.c b/sbin/kldconfig/kldconfig.c
index 979ff2e..3d48bf5 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);
OpenPOWER on IntegriCloud