Fix unexpected fallthrough in switch statement.

This should fix boot failure of the INSTALL kernel
on news3400 with serial console.
This commit is contained in:
tsutsui 2003-04-19 12:33:35 +00:00
parent a41d0875b7
commit 2d4bb67d40
1 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu_cons.c,v 1.6 2000/11/15 14:29:41 tsubai Exp $ */
/* $NetBSD: cpu_cons.c,v 1.7 2003/04/19 12:33:35 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -95,7 +95,7 @@ consinit()
if (*dipsw & SW_CONSOLE) {
fb_cnattach();
kb_hb_cnattach();
return;
break;
}
#endif
@ -103,6 +103,7 @@ consinit()
cn_tab = &consdev_zs;
(*cn_tab->cn_init)(cn_tab);
#endif
break;
#endif /* news3400 */
@ -114,15 +115,15 @@ consinit()
if (*dipsw & SW_CONSOLE) {
xafb_cnattach();
kb_ap_cnattach();
return;
break;
}
#endif
#if NZSC > 0
cn_tab = &consdev_zs_ap;
(*cn_tab->cn_init)(cn_tab);
return;
#endif
break;
#endif /* news5000 */
}