Initialize the two new members of consdev (cn_halt, cn_flush) to NULL so

that this compiles again.
This commit is contained in:
he 2003-03-28 14:10:56 +00:00
parent eb430229c6
commit cb89d3a368
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: siotty.c,v 1.12 2002/10/23 09:11:25 jdolecek Exp $ */
/* $NetBSD: siotty.c,v 1.13 2003/03/28 14:10:56 he Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: siotty.c,v 1.12 2002/10/23 09:11:25 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: siotty.c,v 1.13 2003/03/28 14:10:56 he Exp $");
#include "opt_ddb.h"
@ -584,6 +584,8 @@ struct consdev syscons = {
syscnputc,
nullcnpollc,
NULL,
NULL,
NULL,
NODEV,
CN_REMOTE,
};