summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-13 22:32:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-13 22:32:47 +0000
commit0e0b1aef20d1a1e13d87fee6a800d64bf4f45d99 (patch)
tree1d16e2f4fbb686b947c6db97263fc505f9903675
parent3cd91ab0bc96d092f65d65de277f8535058e8486 (diff)
proc is not an enum, dummy! this makes sparc64 amd work
-rw-r--r--usr.sbin/amd/amd/misc_rpc.c4
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 091faf52cbe..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 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