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 <alexbestms@wwu.de>
Reviewed by:	kan
MFC after:	1 week
This commit is contained in:
Christian Brueffer 2010-05-12 15:47:43 +00:00
parent 7898f4085c
commit 8e721ea734
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207964

View file

@ -28,7 +28,6 @@
__FBSDID("$FreeBSD$");
#include <err.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@ -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) {