git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c52097
)
ctdb:tools: Use correct C99 initializer for ltdb_header
author
Andreas Schneider
<asn@samba.org>
Mon, 14 Jan 2019 11:07:40 +0000
(12:07 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 28 Jan 2019 09:29:21 +0000
(10:29 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
ctdb/tools/ltdbtool.c
patch
|
blob
|
history
diff --git
a/ctdb/tools/ltdbtool.c
b/ctdb/tools/ltdbtool.c
index e8465b2659fb7745708191fafeb6623d531c80e9..edb17ce55573ba1efae2f25f321e8a4f20c2fc9e 100644
(file)
--- a/
ctdb/tools/ltdbtool.c
+++ b/
ctdb/tools/ltdbtool.c
@@
-39,7
+39,9
@@
union ltdb_header {
};
static const union ltdb_header DEFAULT_HDR = {
- .hdr.dmaster = -1,
+ .hdr = {
+ .dmaster = -1,
+ }
};
static int help(const char* cmd)