Minor correction
diff --git a/coreutils/sha1sum.c b/coreutils/sha1sum.c
index 8056b1d..c6534b5 100644
--- a/coreutils/sha1sum.c
+++ b/coreutils/sha1sum.c
@@ -190,7 +190,7 @@
 	}
 
 	if (argc == optind) {
-		argv[argc] = "-";
+		argv[argc++] = "-";
 	}
 
 	while (optind < argc) {