chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive
[elogind.git]
/
src
/
execute.c
diff --git
a/src/execute.c
b/src/execute.c
index 1ab321851792f8d772dd4176f38d4cfccb9948e9..53e7e77fdec0536bee1188940f88f322f9f22237 100644
(file)
--- 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;
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;
}
close_nointr_nofail(fd);
return -errno;
}