summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/md5sum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index 24a3e2ca7..7968bb124 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -485,7 +485,7 @@ main (argc, argv)
usage (EXIT_FAILURE);
}
- err = md5_check (optind == argc ? "-" : argv[optind], binary);
+ err = md5_check ((optind == argc) ? "-" : argv[optind], binary);
}
if (fclose (stdout) == EOF)