From c5dba326b29842060eaf50fa1b0d22ed71559612 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sun, 17 Mar 2002 17:48:17 +0000 Subject: [PATCH] Increased the debug print buffer. svn path=/trunk/; revision=2724 --- reactos/lib/ntdll/dbg/print.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/lib/ntdll/dbg/print.c b/reactos/lib/ntdll/dbg/print.c index 8d4e37bb032..e81c8474640 100644 --- a/reactos/lib/ntdll/dbg/print.c +++ b/reactos/lib/ntdll/dbg/print.c @@ -1,4 +1,4 @@ -/* $Id: print.c,v 1.3 2000/05/25 15:50:44 ekohl Exp $ +/* $Id: print.c,v 1.4 2002/03/17 17:48:17 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -30,15 +30,15 @@ ULONG DbgPrint(PCH Format, ...) { ANSI_STRING DebugString; - CHAR Buffer[512]; + CHAR Buffer[4096]; va_list ap; /* init ansi string */ DebugString.Buffer = Buffer; - DebugString.MaximumLength = 512; + DebugString.MaximumLength = sizeof(Buffer); va_start (ap, Format); - DebugString.Length = _vsnprintf (Buffer, 512, Format, ap); + DebugString.Length = _vsnprintf (Buffer, sizeof(Buffer), Format, ap); va_end (ap); DbgService (1, &DebugString, NULL);