From ee4296496ffa27e344b7f79356e56b0e5be841aa Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 Mar 2019 15:25:48 +0100 Subject: [PATCH] systemctl: more SYNTHETIC_ERRNO() conversion --- src/systemctl/systemctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 232d93f..15d4312 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -3545,8 +3545,8 @@ static int prepare_boot_loader_entry(void) { return 0; #else - log_error("Booting into boot loader entry not supported."); - return -ENOSYS; + return log_error_errno(SYNTHETIC_ERRNO(ENOSYS), + "Booting into boot loader entry not supported."); #endif } -- 2.7.4