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

Ed Schouten ed at FreeBSD.org
Sat Oct 1 09:16:07 UTC 2011


Author: ed
Date: Sat Oct  1 09:16:07 2011
New Revision: 225893
URL: http://svn.freebsd.org/changeset/base/225893

Log:
  Correct column with for device numbers made in previous change.
  
  The device number should be displayed using only five columns -- not eight.

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

Modified: head/usr.bin/fstat/fstat.c
==============================================================================
--- head/usr.bin/fstat/fstat.c	Sat Oct  1 05:56:25 2011	(r225892)
+++ head/usr.bin/fstat/fstat.c	Sat Oct  1 09:16:07 2011	(r225893)
@@ -441,7 +441,7 @@ print_vnode_info(struct procstat *procst
 	}
 
 	if (nflg)
-		printf(" %#8jx", (uintmax_t)vn.vn_fsid);
+		printf(" %#5jx", (uintmax_t)vn.vn_fsid);
 	else if (vn.vn_mntdir != NULL)
 		(void)printf(" %-8s", vn.vn_mntdir);
 


More information about the svn-src-all mailing list