From 8d232144a3e4758c8a4a8500238cb227ce7500ac Mon Sep 17 00:00:00 2001 From: dd Date: Fri, 29 Jun 2001 19:46:29 +0000 Subject: Silence warnings on the Alpha: don't assume size_t is an int. --- sbin/kldconfig/kldconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/kldconfig/kldconfig.c') 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); -- cgit v1.1