resolved: change mapping of BUS_ERROR_NO_NAME_SERVERS to ESRCH
EIO is really too generic, and indicates transmission problems.
This commit is contained in:
parent
8ebdb652af
commit
fb85e6fd73
|
@ -67,7 +67,7 @@ BUS_ERROR_MAP_ELF_REGISTER const sd_bus_error_map bus_common_errors[] = {
|
|||
|
||||
SD_BUS_ERROR_MAP(BUS_ERROR_NO_SUCH_PROCESS, ESRCH),
|
||||
|
||||
SD_BUS_ERROR_MAP(BUS_ERROR_NO_NAME_SERVERS, EIO),
|
||||
SD_BUS_ERROR_MAP(BUS_ERROR_NO_NAME_SERVERS, ESRCH),
|
||||
SD_BUS_ERROR_MAP(BUS_ERROR_INVALID_REPLY, EINVAL),
|
||||
SD_BUS_ERROR_MAP(BUS_ERROR_NO_SUCH_RR, ENOENT),
|
||||
SD_BUS_ERROR_MAP(BUS_ERROR_NO_RESOURCES, ENOMEM),
|
||||
|
|
Loading…
Reference in a new issue