diff options
Diffstat (limited to 'nis/ypclnt.c')
-rw-r--r-- | nis/ypclnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/ypclnt.c b/nis/ypclnt.c index ae04ee9212..7d0091bd26 100644 --- a/nis/ypclnt.c +++ b/nis/ypclnt.c @@ -634,7 +634,7 @@ yp_order (const char *indomain, const char *inmap, unsigned int *outorder) (caddr_t) &req, (xdrproc_t) xdr_ypresp_order, (caddr_t) &resp); - if (result == YPERR_SUCCESS) + if (result != YPERR_SUCCESS) return result; *outorder = resp.ordernum; |