Module Name:    src
Committed By:   rjs
Date:           Fri May 29 20:10:40 UTC 2009

Modified Files:
        src/sys/dev/ofw: ofcons.c

Log Message:
Pass correct argument to q_to_b().


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/dev/ofw/ofcons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ofw/ofcons.c
diff -u src/sys/dev/ofw/ofcons.c:1.40 src/sys/dev/ofw/ofcons.c:1.41
--- src/sys/dev/ofw/ofcons.c:1.40	Tue May 12 14:39:22 2009
+++ src/sys/dev/ofw/ofcons.c	Fri May 29 20:10:39 2009
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
 #include <sys/conf.h>
@@ -220,7 +220,7 @@
 	}
 	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;

Reply via email to