diff options
author | hoek <hoek@FreeBSD.org> | 1998-08-02 22:47:11 +0000 |
---|---|---|
committer | hoek <hoek@FreeBSD.org> | 1998-08-02 22:47:11 +0000 |
commit | 62b257a6d9e03368ec089c15ae33dd7e2e173ba5 (patch) | |
tree | f5e8aaf85a9ebd62d7d8db482c3f67124871c41b /bin/ls/ls.c | |
parent | a9c05a1ce9c647def2fa3209aa8b08d065e9f3c6 (diff) | |
download | FreeBSD-src-62b257a6d9e03368ec089c15ae33dd7e2e173ba5.zip FreeBSD-src-62b257a6d9e03368ec089c15ae33dd7e2e173ba5.tar.gz |
Add missing "else", without whom the prev. commit is a null change.
Fix a 2nd level indentation style bug.
Diffstat (limited to 'bin/ls/ls.c')
-rw-r--r-- | bin/ls/ls.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/ls/ls.c b/bin/ls/ls.c index cde9c9f..a5e8ed7 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) { |