From a9e4617494537a65ecc711003414a4f97eaad8cc Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sat, 7 Jun 2003 17:11:00 +0000 Subject: Minor correction --- coreutils/sha1sum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') 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) { -- cgit v1.2.3