summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-12 04:34:31 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-12 04:34:31 +0100
commit5ba081b0fb02380cee4c2ff5bc7e05f869eb8415 (patch)
tree88c9c73d7b1f605bf984c6875d4099adc5e9875e /src/journal
parent8a0f04e6a283cc6734ee09a20305c13e09ba0418 (diff)
log: make internal log api log directly to the journal
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journal-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-send.c b/src/journal/journal-send.c
index ddf503b18d..d51aec9690 100644
--- a/src/journal/journal-send.c
+++ b/src/journal/journal-send.c
@@ -195,7 +195,7 @@ _public_ int sd_journal_sendv(const struct iovec *iov, int n) {
zero(sa);
sa.sun_family = AF_UNIX;
- strncpy(sa.sun_path,"/run/systemd/journal/socket", sizeof(sa.sun_path));
+ strncpy(sa.sun_path, "/run/systemd/journal/socket", sizeof(sa.sun_path));
zero(mh);
mh.msg_name = &sa;