svn commit: r221819 - head/usr.bin/fstat

Warner Losh imp at FreeBSD.org
Thu May 12 19:10:01 UTC 2011


Author: imp
Date: Thu May 12 19:10:00 2011
New Revision: 221819
URL: http://svn.freebsd.org/changeset/base/221819

Log:
  uintmax_t is a better type here...
  
  Submitted by:	avg@

Modified:
  head/usr.bin/fstat/fstat.c

Modified: head/usr.bin/fstat/fstat.c
==============================================================================
--- head/usr.bin/fstat/fstat.c	Thu May 12 17:15:57 2011	(r221818)
+++ head/usr.bin/fstat/fstat.c	Thu May 12 19:10:00 2011	(r221819)
@@ -462,7 +462,7 @@ print_vnode_info(struct procstat *procst
 			printf(" %6s", vn.vn_devname);
 		}
 	} else
-		printf(" %6ju", (intmax_t)vn.vn_size);
+		printf(" %6ju", (uintmax_t)vn.vn_size);
 	print_access_flags(fst->fs_fflags);
 }
 


More information about the svn-src-head mailing list