git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e0923d
)
s3:lib: Use C99 initializer for audit_category_tab
author
Andreas Schneider
<asn@samba.org>
Wed, 12 Dec 2018 20:32:47 +0000
(21:32 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 28 Jan 2019 09:29:23 +0000
(10:29 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source3/lib/audit.c
patch
|
blob
|
history
diff --git
a/source3/lib/audit.c
b/source3/lib/audit.c
index e0c03f82e9d0ed065e4e8a771c254fc8737cf34a..f0dc5c2e8e663a507aa019cadfd1d4099cbd944e 100644
(file)
--- a/
source3/lib/audit.c
+++ b/
source3/lib/audit.c
@@
-53,7
+53,7
@@
static const struct audit_category_tab {
{ LSA_AUDIT_CATEGORY_ACCOUNT_LOGON,
"LSA_AUDIT_CATEGORY_ACCOUNT_LOGON",
"ACCOUNT", "Account logon events" },
- {
0, NULL, NULL
}
+ {
.category = 0
}
};
const char *audit_category_str(uint32_t category)