git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f699cec
)
s3:param: Use C99 initializer for poptOption in test_lp_load
author
Andreas Schneider
<asn@samba.org>
Tue, 8 Jan 2019 16:14:28 +0000
(17:14 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 28 Jan 2019 09:29:15 +0000
(10:29 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source3/param/test_lp_load.c
patch
|
blob
|
history
diff --git
a/source3/param/test_lp_load.c
b/source3/param/test_lp_load.c
index fb3b95dd762dc57b58dc4e2627b9f06f1704933e..2a50723b643eda0895e075fcd002ba2c6df3f045 100644
(file)
--- a/
source3/param/test_lp_load.c
+++ b/
source3/param/test_lp_load.c
@@
-30,8
+30,14
@@
int main(int argc, const char **argv)
struct poptOption long_options[] = {
POPT_AUTOHELP
- {"count", 'c', POPT_ARG_STRING, &count_str, 1,
- "Load config <count> number of times"},
+ {
+ .longName = "count",
+ .shortName = 'c',
+ .argInfo = POPT_ARG_STRING,
+ .arg = &count_str,
+ .val = 1,
+ .descrip = "Load config <count> number of times"
+ },
POPT_COMMON_DEBUGLEVEL
POPT_TABLEEND
};