summaryrefslogtreecommitdiff
path: root/libexec/ypxfr/ypxfr_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ypxfr/ypxfr_main.c')
-rw-r--r--libexec/ypxfr/ypxfr_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ypxfr/ypxfr_main.c b/libexec/ypxfr/ypxfr_main.c
index 7e4e24302920..f6b478a89d3c 100644
--- a/libexec/ypxfr/ypxfr_main.c
+++ b/libexec/ypxfr/ypxfr_main.c
@@ -88,7 +88,7 @@ ypxfr_exit(ypxfrstat retval, char *temp)
exit(1);
}
- ypxfr_resp.status = (yppush_status)retval;
+ ypxfr_resp.status = retval;
if (yppushproc_xfrresp_1(&ypxfr_resp, clnt) == NULL) {
yp_error("%s", clnt_sperror(clnt, "callback failed"));