diff options
Diffstat (limited to 'sunrpc/svc_authux.c')
-rw-r--r-- | sunrpc/svc_authux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/svc_authux.c b/sunrpc/svc_authux.c index 08065b4184..bf533a573c 100644 --- a/sunrpc/svc_authux.c +++ b/sunrpc/svc_authux.c @@ -80,7 +80,7 @@ _svcauth_unix (struct svc_req *rqst, struct rpc_msg *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 = (int32_t *) ((char *) buf + str_len); |