From 8781e5adcbe80c6ec79e5b4d1e1790e0eb84c4b2 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 7 Oct 2017 19:43:22 +0000 Subject: Delete pointless casts from void* ok otto@ millert@ --- usr.bin/kdump/kdump.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 850e6eb9160..5a0383a0000 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kdump.c,v 1.130 2017/04/28 13:53:05 mpi Exp $ */ +/* $OpenBSD: kdump.c,v 1.131 2017/10/07 19:43:21 guenther Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -246,19 +246,19 @@ main(int argc, char *argv[]) continue; switch (ktr_header.ktr_type) { case KTR_SYSCALL: - ktrsyscall((struct ktr_syscall *)m, ktrlen); + ktrsyscall(m, ktrlen); break; case KTR_SYSRET: - ktrsysret((struct ktr_sysret *)m, ktrlen); + ktrsysret(m, ktrlen); break; case KTR_NAMEI: ktrnamei(m, ktrlen); break; case KTR_GENIO: - ktrgenio((struct ktr_genio *)m, ktrlen); + ktrgenio(m, ktrlen); break; case KTR_PSIG: - ktrpsig((struct ktr_psig *)m); + ktrpsig(m); break; case KTR_STRUCT: ktrstruct(m, ktrlen); @@ -271,7 +271,7 @@ main(int argc, char *argv[]) ktrexec(m, ktrlen); break; case KTR_PLEDGE: - ktrpledge((struct ktr_pledge *)m, ktrlen); + ktrpledge(m, ktrlen); break; default: printf("\n"); -- cgit v1.2.3