summaryrefslogtreecommitdiff
path: root/lib/audit_logging
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-01-14 13:24:24 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-04-29 16:04:28 +0000
commite0b9281cd7310581e971ca4fb1dce4bea497b30e (patch)
treee0af1d79380d001f7cca8d168c13f10f730d4da3 /lib/audit_logging
parentd24c9d5fa4bae5882844c6f0d5ab86bca74a4092 (diff)
downloadsamba-e0b9281cd7310581e971ca4fb1dce4bea497b30e.tar.gz
lib:audit_logging: Use C99 initializer for server_id in audit_logging
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'lib/audit_logging')
-rw-r--r--lib/audit_logging/audit_logging.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/audit_logging/audit_logging.c b/lib/audit_logging/audit_logging.c
index 6944da7f872..7d9c3b838b5 100644
--- a/lib/audit_logging/audit_logging.c
+++ b/lib/audit_logging/audit_logging.c
@@ -229,7 +229,9 @@ void audit_message_send(
uint32_t message_type,
struct json_object *message)
{
- struct server_id event_server = {};
+ struct server_id event_server = {
+ .pid = 0,
+ };
NTSTATUS status;
const char *message_string = NULL;