diff options
author | peter <peter@FreeBSD.org> | 2003-10-26 04:58:44 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-10-26 04:58:44 +0000 |
commit | 6281d6e07108a8496d5de34ae3d34ddd7cdb1b2a (patch) | |
tree | e50759e7e71c6f6afb73067b5201540d93f8a70c | |
parent | 03863a4dc29de695c300a8481f27f9e134800d5f (diff) | |
download | FreeBSD-src-6281d6e07108a8496d5de34ae3d34ddd7cdb1b2a.zip FreeBSD-src-6281d6e07108a8496d5de34ae3d34ddd7cdb1b2a.tar.gz |
More xdrproc_t issues.
-rw-r--r-- | usr.bin/showmount/showmount.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/showmount/showmount.c b/usr.bin/showmount/showmount.c index d8b6217..9dbc1f9 100644 --- a/usr.bin/showmount/showmount.c +++ b/usr.bin/showmount/showmount.c @@ -160,15 +160,15 @@ main(argc, argv) if (rpcs & DODUMP) if ((estat = tcp_callrpc(host, RPCPROG_MNT, mntvers, - RPCMNT_DUMP, xdr_void, (char *)0, - xdr_mntdump, (char *)&mntdump)) != 0) { + RPCMNT_DUMP, (xdrproc_t)xdr_void, (char *)0, + (xdrproc_t)xdr_mntdump, (char *)&mntdump)) != 0) { clnt_perrno(estat); errx(1, "can't do mountdump rpc"); } if (rpcs & DOEXPORTS) if ((estat = tcp_callrpc(host, RPCPROG_MNT, mntvers, - RPCMNT_EXPORT, xdr_void, (char *)0, - xdr_exports, (char *)&exports)) != 0) { + RPCMNT_EXPORT, (xdrproc_t)xdr_void, (char *)0, + (xdrproc_t)xdr_exports, (char *)&exports)) != 0) { clnt_perrno(estat); errx(1, "can't do exports rpc"); } |