From 7709ef3a70cc228997c93da1eeddb8db16d5906b Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 20 Oct 2018 00:52:45 +0900 Subject: [PATCH] bootctl: include error cause in log message --- src/boot/bootctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index c97d21c2286..d1aee188eb7 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -242,7 +242,7 @@ static int status_variables(void) { if (n_order == -ENOENT) n_order = 0; else if (n_order < 0) - return log_error_errno(n_order, "Failed to read EFI boot order."); + return log_error_errno(n_order, "Failed to read EFI boot order: %m"); /* print entries in BootOrder first */ printf("Boot Loaders Listed in EFI Variables:\n"); -- 2.47.3