aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1998-08-02 22:47:11 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1998-08-02 22:47:11 +0000
commitbb2b4fafaec66794f9d5602f3b7fa9de4e8d05c8 (patch)
tree68ea3b7be9380f462d379f567fab51d9cc919c15
parent27aa2e8958837ac373bb786a1f712492cb199451 (diff)
Notes
-rw-r--r--bin/ls/ls.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/ls/ls.c b/bin/ls/ls.c
index cde9c9fc42f53..a5e8ed7659c24 100644
--- a/bin/ls/ls.c
+++ b/bin/ls/ls.c
@@ -45,7 +45,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)ls.c 8.5 (Berkeley) 4/2/94";
#else
static const char rcsid[] =
- "$Id: ls.c,v 1.21 1998/04/24 20:15:42 des Exp $";
+ "$Id: ls.c,v 1.22 1998/07/29 00:46:09 hoek Exp $";
#endif
#endif /* not lint */
@@ -460,10 +460,9 @@ display(p, list)
maxblock = makenines(maxblock);
maxnlink = makenines(maxnlink);
maxsize = makenines(maxsize);
- }
- if (initmax == NULL || *initmax == '\0')
+ } else if (initmax == NULL || *initmax == '\0')
maxblock = maxinode = maxlen = maxnlink =
- maxuser = maxgroup = maxflags = maxsize = 0;
+ maxuser = maxgroup = maxflags = maxsize = 0;
bcfile = 0;
flags = NULL;
for (cur = list, entries = 0; cur; cur = cur->fts_link) {