aboutsummaryrefslogtreecommitdiff
path: root/nis
diff options
context:
space:
mode:
Diffstat (limited to 'nis')
-rw-r--r--nis/ypclnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/ypclnt.c b/nis/ypclnt.c
index 6230cb8..df0e783 100644
--- a/nis/ypclnt.c
+++ b/nis/ypclnt.c
@@ -593,7 +593,7 @@ yp_order (const char *indomain, const char *inmap, unsigned int *outorder)
enum clnt_stat result;
if (indomain == NULL || indomain[0] == '\0' ||
- inmap == NULL || inmap == '\0')
+ inmap == NULL || inmap[0] == '\0')
return YPERR_BADARGS;
req.domain = (char *) indomain;