mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 07:51:21 +03:00
systemctl: more SYNTHETIC_ERRNO() conversion
This commit is contained in:
parent
c45e5fb877
commit
ee4296496f
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user