diff options
Diffstat (limited to 'nss')
-rw-r--r-- | nss/nss_files/files-XXX.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/nss_files/files-XXX.c b/nss/nss_files/files-XXX.c index 9432b14..bc318fa 100644 --- a/nss/nss_files/files-XXX.c +++ b/nss/nss_files/files-XXX.c @@ -185,7 +185,7 @@ internal_getent (struct STRUCTURE *result, if (p == NULL) { /* End of file or read error. */ - *errnop = errno; + *errnop = ENOENT; H_ERRNO_SET (HOST_NOT_FOUND); return NSS_STATUS_NOTFOUND; } |