From 514b3fccd799ea2990dc29b292b2cc501aaabed9 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 30 Aug 2006 17:00:15 +0000 Subject: fix initializer --- sys/dev/mca/if_we_mca.c | 7 ++++--- sys/net/if_tun.c | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'sys') diff --git a/sys/dev/mca/if_we_mca.c b/sys/dev/mca/if_we_mca.c index ad70704ed31..409ddcf6bd2 100644 --- a/sys/dev/mca/if_we_mca.c +++ b/sys/dev/mca/if_we_mca.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_we_mca.c,v 1.15 2006/03/29 06:58:14 thorpej Exp $ */ +/* $NetBSD: if_we_mca.c,v 1.16 2006/08/30 17:01:45 christos Exp $ */ /*- * Copyright (c) 1997, 1998, 2001 The NetBSD Foundation, Inc. @@ -60,7 +60,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_we_mca.c,v 1.15 2006/03/29 06:58:14 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_we_mca.c,v 1.16 2006/08/30 17:01:45 christos Exp $"); #include #include @@ -121,7 +121,8 @@ static const struct we_mca_product { WD_8003, WE_TYPE_WD8003W, "WD8003W/A" }, { MCA_PRODUCT_IBM_WD_O, "IBM PS/2 Adapter/A for Ethernet Networks", WD_8003, WE_TYPE_WD8003W, "IBM PS/2 Adapter/A" }, - { 0x0000, NULL }, + { 0x0000, NULL, + 0, 0, NULL }, }; /* see POS description in we_mca_attach() */ diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 4304275da1b..983aba32a3f 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_tun.c,v 1.90 2006/07/23 22:06:13 ad Exp $ */ +/* $NetBSD: if_tun.c,v 1.91 2006/08/30 17:00:15 christos Exp $ */ /* * Copyright (c) 1988, Julian Onions @@ -15,7 +15,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.90 2006/07/23 22:06:13 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.91 2006/08/30 17:00:15 christos Exp $"); #include "opt_inet.h" #include "opt_ns.h" @@ -103,7 +103,7 @@ static dev_type_kqfilter(tunkqfilter); const struct cdevsw tun_cdevsw = { tunopen, tunclose, tunread, tunwrite, tunioctl, - nostop, notty, tunpoll, nommap, tunkqfilter, + nostop, notty, tunpoll, nommap, tunkqfilter, D_OTHER, }; void -- cgit