diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1996-12-30 14:14:39 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1996-12-30 14:14:39 +0000 |
| commit | bf3bd46dc3a5cd82a3a0b4038472c7494740cd21 (patch) | |
| tree | 6e2b5bd4d5665aeae24e54791648e5aa9a4dbc97 /lib/libc | |
| parent | 27b979b2d78084a3f620dc41ded80f4c3c465519 (diff) | |
Notes
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 e96eb0879f93..e18d587cdf55 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. |
