summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_auth_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/svc_auth_unix.c')
-rw-r--r--lib/libc/rpc/svc_auth_unix.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/rpc/svc_auth_unix.c b/lib/libc/rpc/svc_auth_unix.c
index 2f4f3ada37c..67e62014873 100644
--- a/lib/libc/rpc/svc_auth_unix.c
+++ b/lib/libc/rpc/svc_auth_unix.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: svc_auth_unix.c,v 1.2 1996/07/20 06:12:42 deraadt Exp $ */
/* $NetBSD: svc_auth_unix.c,v 1.3 1995/02/25 03:01:58 cgd Exp $ */
/*
@@ -32,7 +33,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)svc_auth_unix.c 1.28 88/02/08 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)svc_auth_unix.c 2.3 88/08/01 4.0 RPCSRC";*/
-static char *rcsid = "$NetBSD: svc_auth_unix.c,v 1.3 1995/02/25 03:01:58 cgd Exp $";
+static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.2 1996/07/20 06:12:42 deraadt Exp $";
#endif
/*
@@ -84,7 +85,7 @@ _svcauth_unix(rqst, msg)
stat = AUTH_BADCRED;
goto done;
}
- bcopy((caddr_t)buf, aup->aup_machname, (u_int)str_len);
+ memcpy(aup->aup_machname, (caddr_t)buf, (u_int)str_len);
aup->aup_machname[str_len] = 0;
str_len = RNDUP(str_len);
buf += str_len / sizeof (int32_t);