chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus-proxy: also consider ENOTCONN a clean termination condition
[elogind.git]
/
src
/
journal
/
journald-audit.c
diff --git
a/src/journal/journald-audit.c
b/src/journal/journald-audit.c
index 20936f4bed7109f58d90acf53f551674e0042442..c2f1545cc9b0a2c89b2e3e92f1826bce31bd3f8c 100644
(file)
--- a/
src/journal/journald-audit.c
+++ b/
src/journal/journald-audit.c
@@
-360,7
+360,7
@@
static void process_audit_string(Server *s, int type, const char *data, size_t s
if (!p)
return;
if (!p)
return;
- if (sscanf(p, "(%" PRI
i64 ".%" PRIi64 ":%" PRIi
64 "):%n",
+ if (sscanf(p, "(%" PRI
u64 ".%" PRIu64 ":%" PRIu
64 "):%n",
&seconds,
&msec,
&id,
&seconds,
&msec,
&id,
@@
-538,7
+538,7
@@
int server_open_audit(Server *s) {
if (r < 0)
return log_error_errno(errno, "Failed to set SO_PASSCRED on audit socket: %m");
if (r < 0)
return log_error_errno(errno, "Failed to set SO_PASSCRED on audit socket: %m");
- r = sd_event_add_io(s->event, &s->audit_event_source, s->audit_fd, EPOLLIN, process_datagram, s);
+ r = sd_event_add_io(s->event, &s->audit_event_source, s->audit_fd, EPOLLIN,
server_
process_datagram, s);
if (r < 0)
return log_error_errno(r, "Failed to add audit fd to event loop: %m");
if (r < 0)
return log_error_errno(r, "Failed to add audit fd to event loop: %m");