Date: Sat, 3 Jul 2010 12:09:45 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r209660 - stable/8/sbin/kldstat Message-ID: <201007031209.o63C9jcJ007606@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Sat Jul 3 12:09:45 2010 New Revision: 209660 URL: http://svn.freebsd.org/changeset/base/209660 Log: MFC: r207964 Casting size_t to uintmax_t is not necessary anymore. This also removes the need for stdint.h inclusion. Modified: stable/8/sbin/kldstat/kldstat.c Directory Properties: stable/8/sbin/kldstat/ (props changed) Modified: stable/8/sbin/kldstat/kldstat.c ============================================================================== --- stable/8/sbin/kldstat/kldstat.c Sat Jul 3 09:54:14 2010 (r209659) +++ stable/8/sbin/kldstat/kldstat.c Sat Jul 3 12:09:45 2010 (r209660) @@ -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 ve 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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007031209.o63C9jcJ007606>