test: Fix optstring in getopt_long call
authorJonas Ådahl <jadahl@gmail.com>
Wed, 15 Jan 2014 20:11:51 +0000 (21:11 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 15 Jan 2014 20:11:51 +0000 (21:11 +0100)
Was missing the "l".

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
test/litest.c

index ac67994bed0a9cc3c20035b1f61352ff83a8ceaa..e5898e17352938b061cfacaba0676156652a6a08 100644 (file)
@@ -267,7 +267,7 @@ litest_run(int argc, char **argv) {
                int c;
                int option_index = 0;
 
-               c = getopt_long(argc, argv, "", opts, &option_index);
+               c = getopt_long(argc, argv, "l", opts, &option_index);
                if (c == -1)
                        break;
                switch(c) {