1
0
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:
Lennart Poettering 2019-03-26 15:25:48 +01:00
parent c45e5fb877
commit ee4296496f

View File

@ -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
}