chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tree-wide: Always use recvmsg with MSG_CMSG_CLOEXEC
[elogind.git]
/
src
/
journal
/
journald-wall.c
diff --git
a/src/journal/journald-wall.c
b/src/journal/journald-wall.c
index fcbd9183fea56873d5649bb52882bfb51fdbbbc4..e3201674d4cb7dca6b6f89b36578c0f78da01177 100644
(file)
--- a/
src/journal/journald-wall.c
+++ b/
src/journal/journald-wall.c
@@
-28,7
+28,7
@@
void server_forward_wall(
int priority,
const char *identifier,
const char *message,
int priority,
const char *identifier,
const char *message,
- struct ucred *ucred) {
+
const
struct ucred *ucred) {
_cleanup_free_ char *ident_buf = NULL, *l_buf = NULL;
const char *l;
_cleanup_free_ char *ident_buf = NULL, *l_buf = NULL;
const char *l;
@@
-65,5
+65,5
@@
void server_forward_wall(
r = utmp_wall(l, "systemd-journald", NULL);
if (r < 0)
r = utmp_wall(l, "systemd-journald", NULL);
if (r < 0)
- log_debug
("Failed to send wall message: %s", strerror(-r)
);
+ log_debug
_errno(r, "Failed to send wall message: %m"
);
}
}