Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Use the queue of the tty not garbage from the stack...
details: https://anonhg.NetBSD.org/src/rev/83ab3ed08ada
branches: trunk
changeset: 781077:83ab3ed08ada
user: christos <christos%NetBSD.org@localhost>
date: Fri Aug 17 16:14:31 2012 +0000
description:
Use the queue of the tty not garbage from the stack (Paul Goyette)
diffstat:
sys/kern/tty.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4d0be6bc654a -r 83ab3ed08ada sys/kern/tty.c
--- a/sys/kern/tty.c Fri Aug 17 09:44:30 2012 +0000
+++ b/sys/kern/tty.c Fri Aug 17 16:14:31 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tty.c,v 1.251 2012/08/12 14:45:44 christos Exp $ */
+/* $NetBSD: tty.c,v 1.252 2012/08/17 16:14:31 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.251 2012/08/12 14:45:44 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.252 2012/08/17 16:14:31 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -230,7 +230,7 @@
struct clist rawq, canq, outq;
struct clist orawq, ocanq, ooutq;
- if (outq.c_cc != 0)
+ if (tp->t_outq.c_cc != 0)
return EBUSY;
clalloc(&rawq, newsize, 1);
Home |
Main Index |
Thread Index |
Old Index