diff options
| author | christos <christos@NetBSD.org> | 2006-08-30 17:00:15 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-08-30 17:00:15 +0000 |
| commit | 514b3fccd799ea2990dc29b292b2cc501aaabed9 (patch) | |
| tree | 5557cf7043286f6ecc11cec7b09efb27cd5a5f45 /sys | |
| parent | 9d7a9c40796cb90ade395773d2fda77e090d69fd (diff) | |
fix initializer
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/mca/if_we_mca.c | 7 | ||||
| -rw-r--r-- | sys/net/if_tun.c | 6 |
2 files changed, 7 insertions, 6 deletions
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 <sys/cdefs.h> -__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 <sys/param.h> #include <sys/systm.h> @@ -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 <jpo@cs.nott.ac.uk> @@ -15,7 +15,7 @@ */ #include <sys/cdefs.h> -__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 |
