From aab3fb8917a2b130908440411a8d8ce31495eb38 Mon Sep 17 00:00:00 2001 From: brueffer Date: Wed, 12 May 2010 15:47:43 +0000 Subject: Casting size_t to uintmax_t is not necessary anymore. This also removes the need for stdint.h inclusion. PR: 146046 Submitted by: Alexander Best Reviewed by: kan MFC after: 1 week --- sbin/kldstat/kldstat.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sbin/kldstat') diff --git a/sbin/kldstat/kldstat.c b/sbin/kldstat/kldstat.c index ec243b8..78182b9 100644 --- a/sbin/kldstat/kldstat.c +++ b/sbin/kldstat/kldstat.c @@ -28,7 +28,6 @@ __FBSDID("$FreeBSD$"); #include -#include #include #include #include @@ -60,8 +59,8 @@ static void printfile(int fileid, int verbose) if (kldstat(fileid, &stat) < 0) warn("can't stat file id %d", fileid); else - printf("%2d %4d %p %-8jx %s", - stat.id, stat.refs, stat.address, (uintmax_t)stat.size, + printf("%2d %4d %p %-8zx %s", + stat.id, stat.refs, stat.address, stat.size, stat.name); if (verbose) { -- cgit v1.1