From 7e31a175ec08f1552d7f34f480c9a995e3f42d26 Mon Sep 17 00:00:00 2001 From: jdc Date: Fri, 3 Jun 2005 13:44:11 +0000 Subject: [PATCH] Remove cast to non-const and make this compile again. --- sys/dev/scsipi/if_se.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/scsipi/if_se.c b/sys/dev/scsipi/if_se.c index d53ea256cf77..4725172bcce6 100644 --- a/sys/dev/scsipi/if_se.c +++ b/sys/dev/scsipi/if_se.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_se.c,v 1.57 2005/02/27 00:27:48 perry Exp $ */ +/* $NetBSD: if_se.c,v 1.58 2005/06/03 13:44:11 jdc Exp $ */ /* * Copyright (c) 1997 Ian W. Dall @@ -59,7 +59,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.57 2005/02/27 00:27:48 perry Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.58 2005/06/03 13:44:11 jdc Exp $"); #include "opt_inet.h" #include "opt_atalk.h" @@ -300,7 +300,7 @@ sematch(parent, match, aux) int priority; (void)scsipi_inqmatch(&sa->sa_inqbuf, - (caddr_t)se_patterns, sizeof(se_patterns) / sizeof(se_patterns[0]), + se_patterns, sizeof(se_patterns) / sizeof(se_patterns[0]), sizeof(se_patterns[0]), &priority); return (priority); }