summaryrefslogtreecommitdiffstats
path: root/src/tests/stress-tests.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-10-05 14:46:14 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-10-13 07:56:20 -0400
commitdaa53f46d3ddcba0cbe2d23251c250794e576cf1 (patch)
tree30eafedcff22fc67e5ae4bf532940fbb26c15c14 /src/tests/stress-tests.c
parent39b0adeaaf2429c7cbad045f7f8a79d51d02bee5 (diff)
downloadsssd-daa53f46d3ddcba0cbe2d23251c250794e576cf1.tar.gz
sssd-daa53f46d3ddcba0cbe2d23251c250794e576cf1.tar.xz
sssd-daa53f46d3ddcba0cbe2d23251c250794e576cf1.zip
Use POPT_TABLEEND to close option table
Diffstat (limited to 'src/tests/stress-tests.c')
-rw-r--r--src/tests/stress-tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/stress-tests.c b/src/tests/stress-tests.c
index 3b5373579..b645c25c1 100644
--- a/src/tests/stress-tests.c
+++ b/src/tests/stress-tests.c
@@ -214,7 +214,7 @@ int main(int argc, const char *argv[])
struct poptOption long_options[] = {
POPT_AUTOHELP
{ "groups", 'g', POPT_ARG_NONE, &pc_groups, 0,
- "Lookup in groups instead of users" },
+ "Lookup in groups instead of users", NULL },
{ "prefix", '\0', POPT_ARG_STRING, &pc_prefix, 0,
"The username prefix", NULL },
{ "start", '\0', POPT_ARG_INT | POPT_ARGFLAG_SHOW_DEFAULT,
@@ -227,7 +227,7 @@ int main(int argc, const char *argv[])
"Fail on not getting the requested NSS data (default: No)",
NULL },
{ "verbose", 'v', POPT_ARG_NONE, 0, 'v',
- "Be verbose" },
+ "Be verbose", NULL },
POPT_TABLEEND
};