Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/dev Increase printing buffer of ttycons fr...
details: https://anonhg.NetBSD.org/src/rev/c55bfb3df81a
branches: trunk
changeset: 772165:c55bfb3df81a
user: reinoud <reinoud%NetBSD.org@localhost>
date: Wed Dec 21 10:02:45 2011 +0000
description:
Increase printing buffer of ttycons from 80 to 1024 significantly increasing
console output on large dumps.
diffstat:
sys/arch/usermode/dev/ttycons.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e95925eae10f -r c55bfb3df81a sys/arch/usermode/dev/ttycons.c
--- a/sys/arch/usermode/dev/ttycons.c Wed Dec 21 07:36:02 2011 +0000
+++ b/sys/arch/usermode/dev/ttycons.c Wed Dec 21 10:02:45 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ttycons.c,v 1.13 2011/12/20 21:35:16 jmcneill Exp $ */
+/* $NetBSD: ttycons.c,v 1.14 2011/12/21 10:02:45 reinoud Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttycons.c,v 1.13 2011/12/20 21:35:16 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttycons.c,v 1.14 2011/12/21 10:02:45 reinoud Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -301,7 +301,7 @@
static void
ttycons_start(struct tty *t)
{
- u_char buf[80+1];
+ u_char buf[1024+1];
u_char *p = buf;
int s, len, brem;
Home |
Main Index |
Thread Index |
Old Index