summaryrefslogtreecommitdiff
path: root/usr.bin/top
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-06-21 20:48:02 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-06-21 20:48:02 +0000
commit1b133d1b6f6c89dc462e3f7eaa5b5fe9aee9c0b2 (patch)
tree128a880387f9eb1c2ca356abe39903a749739b83 /usr.bin/top
parentbd208810222a758a99da093d3e125e28c729fdbe (diff)
stop casting the third argument to kvm_read to char *. it is a void *.
Diffstat (limited to 'usr.bin/top')
-rw-r--r--usr.bin/top/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index 650d4596f7f..783bef81f29 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machine.c,v 1.15 1999/05/22 21:42:26 weingart Exp $ */
+/* $OpenBSD: machine.c,v 1.16 1999/06/21 20:48:01 art Exp $ */
/*
* top - a top users display for Unix
@@ -534,7 +534,7 @@ int size;
char *refstr;
{
- if (kvm_read(kd, offset, (char *) ptr, size) != size)
+ if (kvm_read(kd, offset, ptr, size) != size)
{
if (*refstr == '!')
{