aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bootparamd
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2001-03-19 12:50:13 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2001-03-19 12:50:13 +0000
commit8360efbd6c932013ffdb2f83d2f2de4278febb5e (patch)
treeb842b4bf2665ef953be005b10013a2f3daf323c3 /usr.sbin/bootparamd
parent1ac2b9fe972a0c73729565f8310fa6eba55718c4 (diff)
Notes
Diffstat (limited to 'usr.sbin/bootparamd')
-rw-r--r--usr.sbin/bootparamd/callbootd/callbootd.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/bootparamd/callbootd/callbootd.c b/usr.sbin/bootparamd/callbootd/callbootd.c
index 7a09168ac3a9..b7827ac5b95a 100644
--- a/usr.sbin/bootparamd/callbootd/callbootd.c
+++ b/usr.sbin/bootparamd/callbootd/callbootd.c
@@ -118,8 +118,9 @@ char **argv;
} else {
clnt_stat=clnt_broadcast(BOOTPARAMPROG, BOOTPARAMVERS,
BOOTPARAMPROC_WHOAMI,
- xdr_bp_whoami_arg, &whoami_arg,
- xdr_bp_whoami_res, &stat_whoami_res, eachres_whoami);
+ (xdrproc_t)xdr_bp_whoami_arg, (char *)&whoami_arg,
+ xdr_bp_whoami_res, (char *)&stat_whoami_res,
+ (resultproc_t)eachres_whoami);
exit(0);
}
@@ -138,8 +139,9 @@ char **argv;
} else {
clnt_stat=clnt_broadcast(BOOTPARAMPROG, BOOTPARAMVERS,
BOOTPARAMPROC_GETFILE,
- xdr_bp_getfile_arg, &getfile_arg,
- xdr_bp_getfile_res, &stat_getfile_res,eachres_getfile);
+ xdr_bp_getfile_arg, (char *)&getfile_arg,
+ xdr_bp_getfile_res, (char *)&stat_getfile_res,
+ (resultproc_t)eachres_getfile);
exit(0);
}