diff options
author | peter <peter@FreeBSD.org> | 1996-12-30 14:14:39 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-12-30 14:14:39 +0000 |
commit | 8385a503c49fc020f2794bf1ece2be9cf242eb4a (patch) | |
tree | 6e2b5bd4d5665aeae24e54791648e5aa9a4dbc97 /lib/libc | |
parent | 2c78e5f725a7b677dee0becf08c6fd938d6e8d8e (diff) | |
download | FreeBSD-src-8385a503c49fc020f2794bf1ece2be9cf242eb4a.zip FreeBSD-src-8385a503c49fc020f2794bf1ece2be9cf242eb4a.tar.gz |
- prototype now in common include file
- standard function name
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/rpc/auth_unix.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/rpc/auth_unix.c b/lib/libc/rpc/auth_unix.c index e96eb08..e18d587 100644 --- a/lib/libc/rpc/auth_unix.c +++ b/lib/libc/rpc/auth_unix.c @@ -30,7 +30,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 = "$Id: auth_unix.c,v 1.5 1995/10/22 14:51:08 phk Exp $"; +static char *rcsid = "$Id: auth_unix.c,v 1.6 1996/06/10 20:13:00 jraynard Exp $"; #endif /* @@ -56,8 +56,6 @@ static char *rcsid = "$Id: auth_unix.c,v 1.5 1995/10/22 14:51:08 phk Exp $"; #include <rpc/auth.h> #include <rpc/auth_unix.h> -bool_t xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap); - /* * Unix authenticator operations vector */ @@ -176,7 +174,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. |