diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-03-26 15:25:48 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-03-27 12:37:37 +0100 |
commit | ee4296496ffa27e344b7f79356e56b0e5be841aa (patch) | |
tree | 1827aee494dcbb4c2363411427d5e3f561a5f27b /src/systemctl | |
parent | c45e5fb877033c9e3f9b79121644ed71032af379 (diff) | |
download | systemd-ee4296496ffa27e344b7f79356e56b0e5be841aa.tar.gz |
systemctl: more SYNTHETIC_ERRNO() conversion
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 232d93fb02..15d431242f 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 } |