From ca04734de12f317e4fa47da0ad6e7e3b45e8b3a8 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 6 Feb 2007 11:33:35 +0100 Subject: [PATCH] tests: fix argv[] usage in mnt_test_sysinfo.c Signed-off-by: Karel Zak --- tests/helpers/mnt_test_sysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/mnt_test_sysinfo.c b/tests/helpers/mnt_test_sysinfo.c index 0acb130b08..90cf023379 100644 --- a/tests/helpers/mnt_test_sysinfo.c +++ b/tests/helpers/mnt_test_sysinfo.c @@ -85,7 +85,7 @@ main(int argc, char **argv) } else { int i; - if (strcmp(argv[0], "--help") == 0 || strcmp(argv[0], "-h") == 0) { + if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-h") == 0) { printf("%s