summaryrefslogtreecommitdiff
path: root/mount.cifs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mount.cifs.c')
-rw-r--r--mount.cifs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount.cifs.c b/mount.cifs.c
index 9cf58a5..a9632b4 100644
--- a/mount.cifs.c
+++ b/mount.cifs.c
@@ -2071,7 +2071,7 @@ int main(int argc, char **argv)
}
}
- if (argc < 3 || argv[optind] == NULL || argv[optind + 1] == NULL) {
+ if (argc < optind + 2) {
rc = mount_usage(stderr);
goto mount_exit;
}