summaryrefslogtreecommitdiff
path: root/source4/client/cifsdd.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-09-06 12:28:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:45 -0500
commit873749f2189ecf1fbfdc681df4dd304a17716279 (patch)
tree3c130ca5c25631c0aed8c9888b33b42e2be28510 /source4/client/cifsdd.c
parentf057742ef3dd821170303d548f5fee8b6097805d (diff)
downloadsamba-873749f2189ecf1fbfdc681df4dd304a17716279.tar.gz
samba-873749f2189ecf1fbfdc681df4dd304a17716279.tar.bz2
samba-873749f2189ecf1fbfdc681df4dd304a17716279.zip
r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.
(This used to be commit 8b622c5ded0732df0eaf9f6226f52a27b6eacd73)
Diffstat (limited to 'source4/client/cifsdd.c')
-rw-r--r--source4/client/cifsdd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c
index c7e054c364..eda25f904d 100644
--- a/source4/client/cifsdd.c
+++ b/source4/client/cifsdd.c
@@ -516,7 +516,7 @@ struct poptOption cifsddHelpOptions[] = {
{ NULL, '\0', POPT_ARG_CALLBACK, (void *)&cifsdd_help_message, '\0', NULL, NULL },
{ "help", '?', 0, NULL, '?', "Show this help message", NULL },
{ "usage", '\0', 0, NULL, 'u', "Display brief usage message", NULL },
- POPT_TABLEEND
+ { NULL }
} ;
int main(int argc, const char ** argv)
@@ -533,7 +533,7 @@ int main(int argc, const char ** argv)
POPT_COMMON_CONNECTION
POPT_COMMON_CREDENTIALS
POPT_COMMON_VERSION
- POPT_TABLEEND
+ { NULL }
};
/* Block sizes. */