summaryrefslogtreecommitdiffstats
path: root/sbin/umount
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-04-07 11:44:48 +0000
committermdodd <mdodd@FreeBSD.org>2003-04-07 11:44:48 +0000
commita2c3562ee8a635ee79ab2c3ce2560c1a2493232c (patch)
tree0fb6cd719e73c6ab2d22164037b5247808feb5ca /sbin/umount
parentf0a2206dbce0ea4d6c4631b9f97329d191cacc02 (diff)
downloadFreeBSD-src-a2c3562ee8a635ee79ab2c3ce2560c1a2493232c.zip
FreeBSD-src-a2c3562ee8a635ee79ab2c3ce2560c1a2493232c.tar.gz
Quiet warning.
Diffstat (limited to 'sbin/umount')
-rw-r--r--sbin/umount/umount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/umount/umount.c b/sbin/umount/umount.c
index 9191f59..3969860 100644
--- a/sbin/umount/umount.c
+++ b/sbin/umount/umount.c
@@ -463,8 +463,8 @@ umountfs(char *mntfromname, char *mntonname, char *type)
clp->cl_auth = authsys_create_default();
try.tv_sec = 20;
try.tv_usec = 0;
- clnt_stat = clnt_call(clp, RPCMNT_UMOUNT, xdr_dir,
- nfsdirname, xdr_void, (caddr_t)0, try);
+ clnt_stat = clnt_call(clp, RPCMNT_UMOUNT, (xdrproc_t)xdr_dir,
+ nfsdirname, (xdrproc_t)xdr_void, (caddr_t)0, try);
if (clnt_stat != RPC_SUCCESS) {
warnx("%s: %s", hostp,
clnt_sperror(clp, "RPCMNT_UMOUNT"));
OpenPOWER on IntegriCloud