Minor correction
authorGlenn L McGrath <bug1@ihug.co.nz>
Sat, 7 Jun 2003 17:11:00 +0000 (17:11 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sat, 7 Jun 2003 17:11:00 +0000 (17:11 -0000)
coreutils/sha1sum.c

index 8056b1d58a169a93b8901db8168fa83844d894e3..c6534b5cb60ba3b7ba37d89112e59f56e218961f 100644 (file)
@@ -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) {