summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nm-logging.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nm-logging.c b/src/nm-logging.c
index baa8198f8f..d0149ffebe 100644
--- a/src/nm-logging.c
+++ b/src/nm-logging.c
@@ -209,12 +209,14 @@ syslog_identifier_domain (const struct Global *gl)
return &gl->syslog_identifier[NM_STRLEN ("SYSLOG_IDENTIFIER=")];
}
+#if SYSTEMD_JOURNAL
static const char *
syslog_identifier_full (const struct Global *gl)
{
nm_assert (_syslog_identifier_assert (gl));
return &gl->syslog_identifier[0];
}
+#endif
void
nm_logging_set_syslog_identifier (const char *domain)