summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-03-16 15:41:12 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-03-16 15:41:12 +0000
commitd8ebeb5c1882685478f7aff85d3cfd52cb45385b (patch)
tree6a871a498e943d359bc98a18b415e916ac0ef2b6 /sys/arch
parent043c400f909ee0b4431a6657c5b1550df8ab4c83 (diff)
More "(<blah> *)0" -> NULL, avoiding any stdarg functions.
Feedback millert@ kettenis@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/if_ie.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/if_ie.c b/sys/arch/sparc/dev/if_ie.c
index 406b1b696d6..3dd9b9d18f7 100644
--- a/sys/arch/sparc/dev/if_ie.c
+++ b/sys/arch/sparc/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.61 2015/12/08 13:34:22 tedu Exp $ */
+/* $OpenBSD: if_ie.c,v 1.62 2016/03/16 15:41:10 krw Exp $ */
/* $NetBSD: if_ie.c,v 1.33 1997/07/29 17:55:38 fair Exp $ */
/*-
@@ -1906,7 +1906,7 @@ mc_reset(sc)
if (ac->ac_multirangecnt > 0) {
ac->ac_if.if_flags |= IFF_ALLMULTI;
- ieioctl(&ac->ac_if, SIOCSIFFLAGS, (void *)0);
+ ieioctl(&ac->ac_if, SIOCSIFFLAGS, NULL);
goto setflag;
}
@@ -1918,7 +1918,7 @@ mc_reset(sc)
while (enm) {
if (sc->mcast_count >= MAXMCAST) {
ac->ac_if.if_flags |= IFF_ALLMULTI;
- ieioctl(&ac->ac_if, SIOCSIFFLAGS, (void *)0);
+ ieioctl(&ac->ac_if, SIOCSIFFLAGS, NULL);
goto setflag;
}