aboutsummaryrefslogtreecommitdiff
path: root/nis
diff options
context:
space:
mode:
Diffstat (limited to 'nis')
-rw-r--r--nis/nss-nisplus.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nis/nss-nisplus.h b/nis/nss-nisplus.h
index ff497f1ca4..f2247c7eb4 100644
--- a/nis/nss-nisplus.h
+++ b/nis/nss-nisplus.h
@@ -31,12 +31,12 @@ static enum nss_status niserr2nss_tab[] =
[NIS_SUCCESS] = NSS_STATUS_SUCCESS,
[NIS_S_SUCCESS] = NSS_STATUS_SUCCESS,
[NIS_NOTFOUND] = NSS_STATUS_NOTFOUND,
- [NIS_S_NOTFOUND] = NSS_STATUS_TRYAGAIN,
+ [NIS_S_NOTFOUND] = NSS_STATUS_NOTFOUND,
[NIS_CACHEEXPIRED] = NSS_STATUS_UNAVAIL,
- [NIS_NAMEUNREACHABLE] = NSS_STATUS_TRYAGAIN,
+ [NIS_NAMEUNREACHABLE] = NSS_STATUS_UNAVAIL,
[NIS_UNKNOWNOBJ] = NSS_STATUS_NOTFOUND,
[NIS_TRYAGAIN] = NSS_STATUS_TRYAGAIN,
- [NIS_SYSTEMERROR] = NSS_STATUS_UNAVAIL, /* Maybe TRYAGAIN ? */
+ [NIS_SYSTEMERROR] = NSS_STATUS_UNAVAIL,
[NIS_CHAINBROKEN] = NSS_STATUS_UNAVAIL,
[NIS_PERMISSION] = NSS_STATUS_UNAVAIL,
[NIS_NOTOWNER] = NSS_STATUS_UNAVAIL,
@@ -74,7 +74,7 @@ static enum nss_status niserr2nss_tab[] =
[NIS_SRVAUTH] = NSS_STATUS_UNAVAIL,
[NIS_CLNTAUTH] = NSS_STATUS_UNAVAIL,
[NIS_NOFILESPACE] = NSS_STATUS_UNAVAIL,
- [NIS_NOPROC] = NSS_STATUS_TRYAGAIN,
+ [NIS_NOPROC] = NSS_STATUS_UNAVAIL,
[NIS_DUMPLATER] = NSS_STATUS_UNAVAIL
};
#define NISERR_COUNT (sizeof (niserr2nss_tab) / sizeof (niserr2nss_tab[0]))