diff --git a/sys/dev/pci/cz.c b/sys/dev/pci/cz.c index cffd3159e4b0..bd3bf72f42e2 100644 --- a/sys/dev/pci/cz.c +++ b/sys/dev/pci/cz.c @@ -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 -__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 #include @@ -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