summaryrefslogtreecommitdiff
path: root/src/execute.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-08-30 22:42:49 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-30 22:42:49 +0200
commit346bce1f4cff0096177c613987cdc80fa4ec134e (patch)
treed1b27555c011b4f22abc19c76fc6905ab799795c /src/execute.c
parentaf65c248040108830a02860a395f44a186f08495 (diff)
stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive
Diffstat (limited to 'src/execute.c')
-rw-r--r--src/execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/execute.c b/src/execute.c
index 1ab3218517..53e7e77fde 100644
--- a/src/execute.c
+++ b/src/execute.c
@@ -188,9 +188,9 @@ static int connect_logger_as(const ExecContext *context, ExecOutput output, cons
zero(sa);
sa.sa.sa_family = AF_UNIX;
- strncpy(sa.un.sun_path, LOGGER_SOCKET, sizeof(sa.un.sun_path));
+ strncpy(sa.un.sun_path, STDOUT_SYSLOG_BRIDGE_SOCKET, sizeof(sa.un.sun_path));
- if (connect(fd, &sa.sa, offsetof(struct sockaddr_un, sun_path) + sizeof(LOGGER_SOCKET) - 1) < 0) {
+ if (connect(fd, &sa.sa, offsetof(struct sockaddr_un, sun_path) + sizeof(STDOUT_SYSLOG_BRIDGE_SOCKET) - 1) < 0) {
close_nointr_nofail(fd);
return -errno;
}