diff --git a/libexec/ypxfr/ypxfr_getmap.c b/libexec/ypxfr/ypxfr_getmap.c index 085d6319a685..31a0e586fd9c 100644 --- a/libexec/ypxfr/ypxfr_getmap.c +++ b/libexec/ypxfr/ypxfr_getmap.c @@ -48,7 +48,7 @@ extern bool_t xdr_ypresp_all_seq __P(( XDR *, unsigned long * )); int (*ypresp_allfn)(); void *ypresp_data; extern DB *specdbp; -extern int yp_errno; +extern enum ypstat yp_errno; /* * This is largely the same as yp_all() except we do the transfer