Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2011 19:10:01 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221819 - head/usr.bin/fstat
Message-ID:  <201105121910.p4CJA1WD048409@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105121910.p4CJA1WD048409>