Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/tty.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/kern/tty.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.251 retrieving revision 1.252 diff -u -p -r1.251 -r1.252 --- src/sys/kern/tty.c 2012/08/12 14:45:44 1.251 +++ src/sys/kern/tty.c 2012/08/17 16:14:31 1.252 @@ -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 -__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 #include @@ -230,7 +230,7 @@ tty_set_qsize(struct tty *tp, int newsiz 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);