diff options
author | 2002-02-13 22:32:46 +0000 | |
---|---|---|
committer | 2002-02-13 22:32:46 +0000 | |
commit | bb6d35da83ae3437a5eef1a2ee48804aa4ab3a45 (patch) | |
tree | b6865aaaa94f771f560012fefe2627b0b2406f97 | |
parent | be a bit more pendrantic about spelling than the brit was (diff) | |
download | wireguard-openbsd-bb6d35da83ae3437a5eef1a2ee48804aa4ab3a45.tar.xz wireguard-openbsd-bb6d35da83ae3437a5eef1a2ee48804aa4ab3a45.zip |
proc is not an enum, dummy! this makes sparc64 amd work
-rw-r--r-- | usr.sbin/amd/amd/misc_rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/amd/amd/misc_rpc.c b/usr.sbin/amd/amd/misc_rpc.c index ae38922a578..107fe3000fc 100644 --- a/usr.sbin/amd/amd/misc_rpc.c +++ b/usr.sbin/amd/amd/misc_rpc.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)misc_rpc.c 8.1 (Berkeley) 6/6/93 - * $Id: misc_rpc.c,v 1.1.1.1 1995/10/18 08:47:10 deraadt Exp $ + * $Id: misc_rpc.c,v 1.2 2002/02/13 22:32:46 deraadt Exp $ */ /* @@ -132,7 +132,7 @@ AUTH *auth; /* * Called procedure number */ - if (!xdr_enum(&msg_xdr, (enum_t *) &proc)) + if (!xdr_u_long(&msg_xdr, (enum_t *) &proc)) return -EIO; /* * Authorization |