diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-09-05 21:03:37 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-09-05 21:03:37 +0000 |
commit | 6e3425b70bbd713470d6709ce5844111430bc13b (patch) | |
tree | 2d7d660dafc8c8e4f8da4084a5bedd65e2aed85b | |
parent | 31c65370e0c9692e9973f8e50f20cd9847a8a2e4 (diff) |
KNF nit pointed out by theo
-rw-r--r-- | usr.bin/compress/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/compress/main.c b/usr.bin/compress/main.c index 9f5a18747a4..e6e09a3702d 100644 --- a/usr.bin/compress/main.c +++ b/usr.bin/compress/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.46 2003/09/05 20:41:48 henning Exp $ */ +/* $OpenBSD: main.c,v 1.47 2003/09/05 21:03:36 henning Exp $ */ static const char copyright[] = "@(#) Copyright (c) 1992, 1993\n\ @@ -37,7 +37,7 @@ static const char license[] = #if 0 static char sccsid[] = "@(#)compress.c 8.2 (Berkeley) 1/7/94"; #else -static const char main_rcsid[] = "$OpenBSD: main.c,v 1.46 2003/09/05 20:41:48 henning Exp $"; +static const char main_rcsid[] = "$OpenBSD: main.c,v 1.47 2003/09/05 21:03:36 henning Exp $"; #endif #endif /* not lint */ @@ -366,8 +366,8 @@ main(int argc, char *argv[]) rc = rc ? rc : WARNING; continue; default: - if (!S_ISREG(entry->fts_statp->st_mode) && !pipin - && !(S_ISLNK(entry->fts_statp->st_mode) && cat)) { + if (!S_ISREG(entry->fts_statp->st_mode) && !pipin && + !(S_ISLNK(entry->fts_statp->st_mode) && cat)) { warnx("%s not a regular file%s", infile, cat ? "" : ": unchanged"); rc = rc ? rc : WARNING; |