Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/fstat Fix output for -A -f ...
details: https://anonhg.NetBSD.org/src/rev/69a70b32b8ee
branches: trunk
changeset: 325266:69a70b32b8ee
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sun Dec 15 18:56:59 2013 +0000
description:
Fix output for -A -f ...
diffstat:
usr.bin/fstat/fstat.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 67119e283c59 -r 69a70b32b8ee usr.bin/fstat/fstat.c
--- a/usr.bin/fstat/fstat.c Sun Dec 15 18:50:25 2013 +0000
+++ b/usr.bin/fstat/fstat.c Sun Dec 15 18:56:59 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fstat.c,v 1.105 2013/12/15 09:21:03 wiz Exp $ */
+/* $NetBSD: fstat.c,v 1.106 2013/12/15 18:56:59 mlelstv Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)fstat.c 8.3 (Berkeley) 5/2/95";
#else
-__RCSID("$NetBSD: fstat.c,v 1.105 2013/12/15 09:21:03 wiz Exp $");
+__RCSID("$NetBSD: fstat.c,v 1.106 2013/12/15 18:56:59 mlelstv Exp $");
#endif
#endif /* not lint */
@@ -502,7 +502,7 @@
i, fdfile.ff_file, Pid);
return;
}
- if (Aflg && file.f_type != DTYPE_VNODE)
+ if (Aflg && file.f_type != DTYPE_VNODE && checkfile == 0)
(void)printf("%*lx ",
2*(int)(sizeof(void*)), (long)fdfile.ff_file);
switch (file.f_type) {
Home |
Main Index |
Thread Index |
Old Index