summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-10-26 03:00:35 +0000
committerguenther <guenther@openbsd.org>2014-10-26 03:00:35 +0000
commit6b9d5b4565239e377f05cfbdabf54b3f03aeafff (patch)
treeb73c3cd6da8f7c180f07ff85922c7feb1b725a9a /usr.sbin/amd
parentSort #includes; pull in <time.h> for ctime() (diff)
downloadwireguard-openbsd-6b9d5b4565239e377f05cfbdabf54b3f03aeafff.tar.xz
wireguard-openbsd-6b9d5b4565239e377f05cfbdabf54b3f03aeafff.zip
clnt_sperrno() is declared nowadays in <rpc/clnt.h>
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/amd/host_ops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/amd/amd/host_ops.c b/usr.sbin/amd/amd/host_ops.c
index 050154e8c7a..4710b6ac336 100644
--- a/usr.sbin/amd/amd/host_ops.c
+++ b/usr.sbin/amd/amd/host_ops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: host_ops.c,v 1.17 2014/10/26 01:38:02 guenther Exp $ */
+/* $OpenBSD: host_ops.c,v 1.18 2014/10/26 03:00:35 guenther Exp $ */
/*
* Copyright (c) 1990 Jan-Simon Pendry
@@ -175,7 +175,6 @@ fetch_fhandle(CLIENT *client, char *dir, fhstatus *fhp)
fhp->fhs_vers = MOUNTVERS;
clnt_stat = clnt_call(client, MOUNTPROC_MNT, xdr_dirpath, &dir, xdr_fhstatus, fhp, tv);
if (clnt_stat != RPC_SUCCESS) {
- extern char *clnt_sperrno();
char *msg = clnt_sperrno(clnt_stat);
plog(XLOG_ERROR, "mountd rpc failed: %s", msg);
return EIO;