summaryrefslogtreecommitdiffstats
path: root/output/ulogd_output_SYSLOG.c
diff options
context:
space:
mode:
Diffstat (limited to 'output/ulogd_output_SYSLOG.c')
-rw-r--r--output/ulogd_output_SYSLOG.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/ulogd_output_SYSLOG.c b/output/ulogd_output_SYSLOG.c
index eed5b2f..591391b 100644
--- a/output/ulogd_output_SYSLOG.c
+++ b/output/ulogd_output_SYSLOG.c
@@ -51,7 +51,7 @@ static int syslog_interp(struct ulogd_pluginstance *upi, unsigned *flags)
struct syslog_instance *li = upi_priv(upi);
struct ulogd_key *res = upi->input.keys;
- if (res[0].u.source->flags & ULOGD_RETF_VALID)
+ if (res[0].source->flags & ULOGD_RETF_VALID)
syslog(li->level | li->facility, "%s", key_str(&res[0]));
return 0;