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: more log_*_errno() conversions, multiline calls
[elogind.git]
/
src
/
journal
/
coredumpctl.c
diff --git
a/src/journal/coredumpctl.c
b/src/journal/coredumpctl.c
index b82c6f45301967c424a2284dd97d5b5be9f9c5de..edc12fead6dba20a40012d369425f438c8743e0e 100644
(file)
--- a/
src/journal/coredumpctl.c
+++ b/
src/journal/coredumpctl.c
@@
-830,8
+830,8
@@
int main(int argc, char *argv[]) {
SET_FOREACH(match, matches, it) {
r = sd_journal_add_match(j, match, strlen(match));
if (r != 0) {
- log_error
("Failed to add match '%s': %s
",
-
match, strerror(-r)
);
+ log_error
_errno(r, "Failed to add match '%s': %m
",
+
match
);
goto end;
}
}