diff options
Diffstat (limited to 'nss/nss_files')
-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 9432b14b34..bc318fa5c7 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; } |