diff options
author | 1996-07-20 06:12:14 +0000 | |
---|---|---|
committer | 1996-07-20 06:12:14 +0000 | |
commit | 73b69cd935d225117f9210e3f007e404ed4d15bb (patch) | |
tree | 940a03b8e5888afb4133a3e0310a391bcec80c6c /lib/libc/rpc/auth_unix.c | |
parent | bogus frees; from jraynard@freebsd.org (diff) | |
download | wireguard-openbsd-73b69cd935d225117f9210e3f007e404ed4d15bb.tar.xz wireguard-openbsd-73b69cd935d225117f9210e3f007e404ed4d15bb.zip |
bcopy->memcpy & tag
Diffstat (limited to 'lib/libc/rpc/auth_unix.c')
-rw-r--r-- | lib/libc/rpc/auth_unix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/rpc/auth_unix.c b/lib/libc/rpc/auth_unix.c index 263635e5569..996c21d6a49 100644 --- a/lib/libc/rpc/auth_unix.c +++ b/lib/libc/rpc/auth_unix.c @@ -1,3 +1,4 @@ +/* $OpenBSD: auth_unix.c,v 1.3 1996/07/20 06:12:17 deraadt Exp $ */ /* $NetBSD: auth_unix.c,v 1.2 1995/02/25 03:01:35 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)auth_unix.c 1.19 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)auth_unix.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: auth_unix.c,v 1.2 1995/02/25 03:01:35 cgd Exp $"; +static char *rcsid = "$OpenBSD: auth_unix.c,v 1.3 1996/07/20 06:12:17 deraadt Exp $"; #endif /* @@ -156,7 +157,7 @@ authunix_create(machname, uid, gid, len, aup_gids) return (NULL); } #endif - bcopy(mymem, au->au_origcred.oa_base, (u_int)len); + memcpy(au->au_origcred.oa_base, mymem, (u_int)len); /* * set auth handle to reflect new cred. |