summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/auth_unix.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-20 06:12:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-20 06:12:54 +0000
commit2bcfdb7b9e293be149714b1668edc3bda1b0bd75 (patch)
treecbe2be21ccd0580479aff807edf32c092c622e6c /lib/libc/rpc/auth_unix.c
parent59eb67d03202824bfd170086d1a7c42a58eb21a0 (diff)
bcopy->memcpy & tag
Diffstat (limited to 'lib/libc/rpc/auth_unix.c')
-rw-r--r--lib/libc/rpc/auth_unix.c5
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.