From: Lennart Poettering Date: Tue, 26 Mar 2019 14:25:48 +0000 (+0100) Subject: systemctl: more SYNTHETIC_ERRNO() conversion X-Git-Tag: v242-rc1~52^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee4296496ffa27e344b7f79356e56b0e5be841aa;p=thirdparty%2Fsystemd.git systemctl: more SYNTHETIC_ERRNO() conversion --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 232d93fb02c..15d431242f9 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 }