aboutsummaryrefslogtreecommitdiff
path: root/coreutils/sha1sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/sha1sum.c')
-rw-r--r--coreutils/sha1sum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/sha1sum.c b/coreutils/sha1sum.c
index 8056b1d58..c6534b5cb 100644
--- a/coreutils/sha1sum.c
+++ b/coreutils/sha1sum.c
@@ -190,7 +190,7 @@ extern int authenticate(int argc, char **argv, void (*hash_ptr)(FILE *stream, un
190 } 190 }
191 191
192 if (argc == optind) { 192 if (argc == optind) {
193 argv[argc] = "-"; 193 argv[argc++] = "-";
194 } 194 }
195 195
196 while (optind < argc) { 196 while (optind < argc) {