summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/locktest2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/locktest2.c b/source3/utils/locktest2.c
index 36b32d6460..0391aa2942 100644
--- a/source3/utils/locktest2.c
+++ b/source3/utils/locktest2.c
@@ -515,7 +515,7 @@ static void usage(void)
{
printf(
"Usage:\n\
- locktest //server1/share1 //server2/share2 [options..]\n\
+ locktest //server1/share1 //server2/share2 /path1 /path2 [options..]\n\
options:\n\
-U user%%pass\n\
-s seed\n\
@@ -544,7 +544,7 @@ static void usage(void)
dbf = stderr;
- if (argv[1][0] == '-' || argc < 5) {
+ if (argc < 5 || argv[1][0] == '-') {
usage();
exit(1);
}