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: no need to negate errno for log_*_errno()
[elogind.git]
/
src
/
machine
/
machine.c
diff --git
a/src/machine/machine.c
b/src/machine/machine.c
index 88c10b73157dab1ded04500f19a8d3c0cb689869..40189269e0157820aa4ed7d678e436c3a8cefb50 100644
(file)
--- a/
src/machine/machine.c
+++ b/
src/machine/machine.c
@@
-216,7
+216,7
@@
finish:
if (temp_path)
unlink(temp_path);
if (temp_path)
unlink(temp_path);
- log_error_errno(
-
r, "Failed to save machine data %s: %m", m->state_file);
+ log_error_errno(r, "Failed to save machine data %s: %m", m->state_file);
}
return r;
}
return r;
@@
-259,7
+259,7
@@
int machine_load(Machine *m) {
if (r == -ENOENT)
return 0;
if (r == -ENOENT)
return 0;
- log_error_errno(
-
r, "Failed to read %s: %m", m->state_file);
+ log_error_errno(r, "Failed to read %s: %m", m->state_file);
return r;
}
return r;
}