Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Oct 2011 09:16:07 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r225893 - head/usr.bin/fstat
Message-ID:  <201110010916.p919G7f2008931@svn.freebsd.org>

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



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