summaryrefslogtreecommitdiff
path: root/src/journal/journal-send.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-05 20:24:16 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-05 20:24:16 +0100
commit259d2e762041d8d50c2a17bfea90b1a96f6b880b (patch)
treefbf7fe43799a0ec584a530e044dd1faf781e1132 /src/journal/journal-send.c
parent55d7bfc19b72eca09d2bb7c9c73a62c886d8b9b4 (diff)
journal: move sockets into their own subdir
Diffstat (limited to 'src/journal/journal-send.c')
-rw-r--r--src/journal/journal-send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journal-send.c b/src/journal/journal-send.c
index e7e3fa2cd0..176aac2792 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", sizeof(sa.sun_path));
+ strncpy(sa.sun_path,"/run/systemd/journal/socket", sizeof(sa.sun_path));
zero(mh);
mh.msg_name = &sa;
@@ -225,7 +225,7 @@ _public_ int sd_journal_stream_fd(const char *tag, int priority, int priority_pr
zero(sa);
sa.un.sun_family = AF_UNIX;
- strncpy(sa.un.sun_path, "/run/systemd/stdout", sizeof(sa.un.sun_path));
+ strncpy(sa.un.sun_path, "/run/systemd/journal/stdout", sizeof(sa.un.sun_path));
r = connect(fd, &sa.sa, offsetof(union sockaddr_union, un.sun_path) + strlen(sa.un.sun_path));
if (r < 0) {