diff options
Diffstat (limited to 'lib/libc/xdr/xdr_reference.c')
-rw-r--r-- | lib/libc/xdr/xdr_reference.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/xdr/xdr_reference.c b/lib/libc/xdr/xdr_reference.c index 91ccff2..0cf1fde 100644 --- a/lib/libc/xdr/xdr_reference.c +++ b/lib/libc/xdr/xdr_reference.c @@ -30,7 +30,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)xdr_reference.c 1.11 87/08/11 SMI";*/ /*static char *sccsid = "from: @(#)xdr_reference.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$Id: xdr_reference.c,v 1.2 1995/05/30 05:42:12 rgrimes Exp $"; +static char *rcsid = "$Id: xdr_reference.c,v 1.3 1995/10/22 14:53:58 phk Exp $"; #endif /* @@ -48,7 +48,7 @@ static char *rcsid = "$Id: xdr_reference.c,v 1.2 1995/05/30 05:42:12 rgrimes Exp #include <rpc/types.h> #include <rpc/xdr.h> -#define LASTUNSIGNED ((u_int)0-1) +#define LASTUNSIGNED ((u_int) 0-1) /* * XDR an indirect pointer @@ -81,7 +81,7 @@ xdr_reference(xdrs, pp, size, proc) "xdr_reference: out of memory\n"); return (FALSE); } - bzero(loc, (int)size); + memset(loc, 0, (int)size); break; } |