Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/fstat add VT_LFS case.



details:   https://anonhg.NetBSD.org/src/rev/9b5e97162502
branches:  trunk
changeset: 538699:9b5e97162502
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Oct 26 06:03:50 2002 +0000

description:
add VT_LFS case.

diffstat:

 usr.bin/fstat/fstat.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r a589f28819b1 -r 9b5e97162502 usr.bin/fstat/fstat.c
--- a/usr.bin/fstat/fstat.c     Sat Oct 26 04:21:12 2002 +0000
+++ b/usr.bin/fstat/fstat.c     Sat Oct 26 06:03:50 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fstat.c,v 1.56 2002/10/23 22:37:11 jdolecek Exp $      */
+/*     $NetBSD: fstat.c,v 1.57 2002/10/26 06:03:50 yamt Exp $  */
 
 /*-
  * Copyright (c) 1988, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)fstat.c    8.3 (Berkeley) 5/2/95";
 #else
-__RCSID("$NetBSD: fstat.c,v 1.56 2002/10/23 22:37:11 jdolecek Exp $");
+__RCSID("$NetBSD: fstat.c,v 1.57 2002/10/26 06:03:50 yamt Exp $");
 #endif
 #endif /* not lint */
 
@@ -425,9 +425,7 @@
        else
                switch (vp->v_tag) {
                case VT_UFS:
-                       if (!ufs_filestat(vp, fsp))
-                               badtype = "error";
-                       break;
+               case VT_LFS:
                case VT_MFS:
                        if (!ufs_filestat(vp, fsp))
                                badtype = "error";



Home | Main Index | Thread Index | Old Index