diff options
Diffstat (limited to 'src/efi-boot-generator/efi-boot-generator.c')
-rw-r--r-- | src/efi-boot-generator/efi-boot-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/efi-boot-generator/efi-boot-generator.c b/src/efi-boot-generator/efi-boot-generator.c index d4d778036f..52d00c0443 100644 --- 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; } |