summaryrefslogtreecommitdiff
path: root/src/efi-boot-generator
diff options
context:
space:
mode:
Diffstat (limited to 'src/efi-boot-generator')
-rw-r--r--src/efi-boot-generator/efi-boot-generator.c2
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 52d00c0443..d4e9a8c00c 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_errno(-r, "Failed to read ESP partition UUID: %m");
+ log_error_errno(r, "Failed to read ESP partition UUID: %m");
return EXIT_FAILURE;
}