From 0e0b1aef20d1a1e13d87fee6a800d64bf4f45d99 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 13 Feb 2002 22:32:47 +0000 Subject: proc is not an enum, dummy! this makes sparc64 amd work --- usr.sbin/amd/amd/misc_rpc.c | 4 ++-- 1 file 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 -- cgit v1.2.3