diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-06-13 19:24:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-06-13 20:11:59 +0200 |
commit | b0284aba93e8ccd415da5bbee86d84c12b1b9856 (patch) | |
tree | 04e5960d774f1eb83ae8fc434ec19e4f697b0fbf /src/shared/device-nodes.c | |
parent | b532bdeae9b13fe93a54850f5e7f99c753bda6fa (diff) |
sysusers: always treat ENOENT as entry-not-found when doing NSS calls
For most NSS calls it is documented that they return NULL + errno=0 when
an entry is not found. However, in reality it appears to be common to
return NULL + errno=ENOENT, instead. Handle that correctly, and don't
consider ENOENT a systematic error.
Diffstat (limited to 'src/shared/device-nodes.c')
0 files changed, 0 insertions, 0 deletions