From 850a493aca5c860161474f4b4b0380246dbff829 Mon Sep 17 00:00:00 2001 From: rjs Date: Fri, 29 May 2009 20:10:39 +0000 Subject: [PATCH] Pass correct argument to q_to_b(). --- sys/dev/ofw/ofcons.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/ofw/ofcons.c b/sys/dev/ofw/ofcons.c index e6e8472e57f1..c5c1c6899da4 100644 --- a/sys/dev/ofw/ofcons.c +++ b/sys/dev/ofw/ofcons.c @@ -1,4 +1,4 @@ -/* $NetBSD: ofcons.c,v 1.40 2009/05/12 14:39:22 cegger Exp $ */ +/* $NetBSD: ofcons.c,v 1.41 2009/05/29 20:10:39 rjs Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ofcons.c,v 1.40 2009/05/12 14:39:22 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ofcons.c,v 1.41 2009/05/29 20:10:39 rjs Exp $"); #include #include @@ -220,7 +220,7 @@ ofcons_start(struct tty *tp) } tp->t_state |= TS_BUSY; splx(s); - len = q_to_b(cl, buf, OFBURSTLEN); + len = q_to_b(&tp->t_outq, buf, OFBURSTLEN); OF_write(stdout, buf, len); s = spltty(); tp->t_state &= ~TS_BUSY;