chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
timedated: remove spurious include of <sys/capability.h>
[elogind.git]
/
src
/
core
/
audit-fd.c
diff --git
a/src/core/audit-fd.c
b/src/core/audit-fd.c
index 4326d17360aa54e1df2a56891548201414948849..5a18e263a85e80fde448fe4b6ce34a5d63869a73 100644
(file)
--- a/
src/core/audit-fd.c
+++ b/
src/core/audit-fd.c
@@
-41,7
+41,7
@@
int get_audit_fd(void) {
if (audit_fd < 0) {
if (errno != EAFNOSUPPORT && errno != EPROTONOSUPPORT)
- log_error
(
"Failed to connect to audit log: %m");
+ log_error
_errno(errno,
"Failed to connect to audit log: %m");
audit_fd = errno ? -errno : -EINVAL;
}