diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1996-12-30 14:07:11 +0000 | 
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1996-12-30 14:07:11 +0000 | 
| commit | 1ad08a09e9732e9e6e44f069c55f4abe27ed392a (patch) | |
| tree | c2637d779b879fd180fe881fdb6be5a307f97c6e /lib/libc/xdr/xdr_reference.c | |
| parent | 889f6ffb91d680518cc52884f08f2cf40c88af0b (diff) | |
Notes
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 91ccff2d79cf..0cf1fde27abb 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;  	}  | 
