diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2016-05-11 17:46:45 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2016-05-11 17:46:45 +0000 |
commit | 191b0abb176d7bc3178d8a64f0baf515755fbec0 (patch) | |
tree | 248ec28da9029f89759742a1ecdf63efa4de6382 /lib/libkvm/kvm_proc.c | |
parent | 029033c89a360a04386508cbc877d66c1df5cffd (diff) |
convert bcopy to memcpy. ok dlg millert
Diffstat (limited to 'lib/libkvm/kvm_proc.c')
-rw-r--r-- | lib/libkvm/kvm_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index 70533557de3..a9b466591ef 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_proc.c,v 1.52 2014/10/22 04:13:35 guenther Exp $ */ +/* $OpenBSD: kvm_proc.c,v 1.53 2016/05/11 17:46:44 tedu Exp $ */ /* $NetBSD: kvm_proc.c,v 1.30 1999/03/24 05:50:50 mrg Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -490,7 +490,7 @@ kvm_ureadm(kvm_t *kd, const struct kinfo_proc *p, u_long uva, char *buf, return (0); } cc = (size_t)MIN(cnt, len); - bcopy(dp, cp, cc); + memcpy(cp, dp, cc); cp += cc; uva += cc; len -= cc; |