diff options
-rw-r--r-- | usr.bin/uniq/uniq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c index af91ee3..a71726c 100644 --- a/usr.bin/uniq/uniq.c +++ b/usr.bin/uniq/uniq.c @@ -210,7 +210,7 @@ void show(FILE *ofp, wchar_t *str) { - if (cflag && *str) + if (cflag) (void)fprintf(ofp, "%4d %ls\n", repeats + 1, str); if ((dflag && repeats) || (uflag && !repeats)) (void)fprintf(ofp, "%ls\n", str); |