chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: auto-convert the simple cases to log_*_errno()
[elogind.git]
/
src
/
journal-remote
/
journal-remote-write.c
diff --git
a/src/journal-remote/journal-remote-write.c
b/src/journal-remote/journal-remote-write.c
index 0139f851a56c0069a6307e7e7f4e580cdde9f3c4..ac59cb7a17ed4917c866343aafe83e69be511412 100644
(file)
--- a/
src/journal-remote/journal-remote-write.c
+++ b/
src/journal-remote/journal-remote-write.c
@@
-153,7
+153,7
@@
int writer_write(Writer *w,
return 1;
}
return 1;
}
- log_debug
("%s: Write failed, rotating: %s", w->journal->path, strerror(-r)
);
+ log_debug
_errno(-r, "%s: Write failed, rotating: %m", w->journal->path
);
r = do_rotate(&w->journal, compress, seal);
if (r < 0)
return r;
r = do_rotate(&w->journal, compress, seal);
if (r < 0)
return r;