summaryrefslogtreecommitdiff
path: root/test/nptl/tst-mqueue7.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-mqueue7.c')
-rw-r--r--test/nptl/tst-mqueue7.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/nptl/tst-mqueue7.c b/test/nptl/tst-mqueue7.c
index d3ea2b7c8..1892f951a 100644
--- a/test/nptl/tst-mqueue7.c
+++ b/test/nptl/tst-mqueue7.c
@@ -32,9 +32,10 @@
static mqd_t after_exec = (mqd_t) -1;
#define CMDLINE_OPTIONS \
- { "after-exec", required_argument, NULL, OPT_AFTEREXEC },
+ "a:"
+
#define CMDLINE_PROCESS \
- case OPT_AFTEREXEC: \
+ case 'a': \
after_exec = (mqd_t) strtoul (optarg, NULL, 0); \
break;