Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

NetBSD 1.5.3

  • Loading branch information...
commit 858d8fa3ca743825b74538936f03da3515fb58d2 1 parent cc626d7
authored July 31, 2002

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  netbsd/usr.bin/fstat/fstat.c
10  netbsd/usr.bin/fstat/fstat.c
... ...
@@ -1,4 +1,4 @@
1  
-/*	$NetBSD: fstat.c,v 1.42.4.1 2000/10/02 03:11:37 enami Exp $	*/
  1
+/*	$NetBSD: fstat.c,v 1.42.4.2 2002/02/13 23:28:22 he Exp $	*/
2 2
 
3 3
 /*-
4 4
  * Copyright (c) 1988, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\
43 43
 #if 0
44 44
 static char sccsid[] = "@(#)fstat.c	8.3 (Berkeley) 5/2/95";
45 45
 #else
46  
-__RCSID("$NetBSD: fstat.c,v 1.42.4.1 2000/10/02 03:11:37 enami Exp $");
  46
+__RCSID("$NetBSD: fstat.c,v 1.42.4.2 2002/02/13 23:28:22 he Exp $");
47 47
 #endif
48 48
 #endif /* not lint */
49 49
 
@@ -268,10 +268,10 @@ main(argc, argv)
268 268
 	}
269 269
 	if (nflg)
270 270
 		printf("%s",
271  
-"USER     CMD          PID   FD  DEV    INUM       MODE SZ|DV R/W");
  271
+"USER     CMD          PID   FD  DEV     INUM  MODE  SZ|DV R/W");
272 272
 	else
273 273
 		printf("%s",
274  
-"USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W");
  274
+"USER     CMD          PID   FD MOUNT       INUM MODE         SZ|DV R/W");
275 275
 	if (checkfile && fsflg == 0)
276 276
 		printf(" NAME\n");
277 277
 	else
@@ -502,7 +502,7 @@ vtrans(vp, i, flag)
502 502
 		(void)snprintf(mode, sizeof mode, "%o", fst.mode);
503 503
 	else
504 504
 		strmode(fst.mode, mode);
505  
-	(void)printf(" %6ld %10s", (long)fst.fileid, mode);
  505
+	(void)printf(" %7ld %*s", (long)fst.fileid, nflg ? 5 : 10, mode);
506 506
 	switch (vn.v_type) {
507 507
 	case VBLK:
508 508
 	case VCHR: {

0 notes on commit 858d8fa

Please sign in to comment.
Something went wrong with that request. Please try again.