summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-19 11:47:12 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-19 14:11:43 -0700
commit22054523dce137c3eba443cfb5a197796c0dbfcf (patch)
treeec06d6cfec597e6b17c97c3184314289e17a4e25
parent86383f0003a5dddea465a4338182d0abdadea429 (diff)
downloadsamba-22054523dce137c3eba443cfb5a197796c0dbfcf.tar.gz
samba-22054523dce137c3eba443cfb5a197796c0dbfcf.tar.bz2
samba-22054523dce137c3eba443cfb5a197796c0dbfcf.zip
s4-testparm: fixed -v option
never pass a bool pointer to popt
-rw-r--r--source4/utils/testparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/testparm.c b/source4/utils/testparm.c
index 7f53eb5a52..d9cbac6536 100644
--- a/source4/utils/testparm.c
+++ b/source4/utils/testparm.c
@@ -184,7 +184,7 @@ static int do_share_checks(struct loadparm_context *lp_ctx, const char *cname, c
static char *parameter_name = NULL;
static const char *cname;
static const char *caddr;
- static bool show_defaults = false;
+ static int show_defaults = false;
struct loadparm_context *lp_ctx;
struct poptOption long_options[] = {