Add a missing brace in cztty_receive inside a ifdef HOSTRAMCODE. This

would randomly cause internal compiler errors while compiling pmppc.
This commit is contained in:
garbled 2007-05-08 17:27:37 +00:00
parent 59000b719e
commit d6ba347731

View File

@ -1,4 +1,4 @@
/* $NetBSD: cz.c,v 1.43 2007/03/04 06:02:17 christos Exp $ */
/* $NetBSD: cz.c,v 1.44 2007/05/08 17:27:37 garbled Exp $ */
/*-
* Copyright (c) 2000 Zembu Labs, Inc.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cz.c,v 1.43 2007/03/04 06:02:17 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: cz.c,v 1.44 2007/05/08 17:27:37 garbled Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -1631,7 +1631,7 @@ cztty_receive(struct cztty_softc *sc, struct tty *tp)
while ((get != put) && ((tp->t_canq.c_cc + tp->t_rawq.c_cc) < tp->t_hiwat)) {
#ifdef HOSTRAMCODE
if (hostram)
if (hostram) {
ch = ((char *)fifoaddr)[get];
} else {
#endif