diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-06-07 17:11:00 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-06-07 17:11:00 +0000 |
commit | a9e4617494537a65ecc711003414a4f97eaad8cc (patch) | |
tree | 99674e97ccffffe4d7b3e4578c76033e388a785b | |
parent | 138d71bc35b86964a4c2bd97f7f578edfead1925 (diff) |
Minor correction
-rw-r--r-- | coreutils/sha1sum.c | 2 |
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 } if (argc == optind) { - argv[argc] = "-"; + argv[argc++] = "-"; } while (optind < argc) { |