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
/
efi-boot-generator
/
efi-boot-generator.c
diff --git
a/src/efi-boot-generator/efi-boot-generator.c
b/src/efi-boot-generator/efi-boot-generator.c
index d4d778036f3e07320d8a9e0facad994920118388..52d00c0443e225fad58cf5c3736a2a06dfa7852f 100644
(file)
--- a/
src/efi-boot-generator/efi-boot-generator.c
+++ b/
src/efi-boot-generator/efi-boot-generator.c
@@
-80,7
+80,7
@@
int main(int argc, char *argv[]) {
log_debug("EFI loader partition unknown, exiting.");
return EXIT_SUCCESS;
} else if (r < 0) {
- log_error
("Failed to read ESP partition UUID: %s", strerror(-r)
);
+ log_error
_errno(-r, "Failed to read ESP partition UUID: %m"
);
return EXIT_FAILURE;
}