summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-03-26 15:25:48 +0100
committerLennart Poettering <lennart@poettering.net>2019-03-27 12:37:37 +0100
commitee4296496ffa27e344b7f79356e56b0e5be841aa (patch)
tree1827aee494dcbb4c2363411427d5e3f561a5f27b /src/systemctl
parentc45e5fb877033c9e3f9b79121644ed71032af379 (diff)
downloadsystemd-ee4296496ffa27e344b7f79356e56b0e5be841aa.tar.gz
systemctl: more SYNTHETIC_ERRNO() conversion
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl.c4
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
}