diff options
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. |