mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 01:10:33 +01:00
libnl3: Add ESRCH to compat error translation
This commit is contained in:
parent
7addf3009a
commit
790c16c9f2
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ nl_compat_error (int err)
|
|||
|
||||
if (err == EEXIST)
|
||||
err = NLE_EXIST;
|
||||
else if (err == ENOENT)
|
||||
else if (err == ENOENT || err == ESRCH)
|
||||
err = NLE_OBJ_NOTFOUND;
|
||||
else if (err == ERANGE)
|
||||
err = NLE_RANGE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue