Author: hbelusca
Date: Sun Oct 13 23:07:26 2013
New Revision: 60652
URL:
http://svn.reactos.org/svn/reactos?rev=60652&view=rev
Log:
[NTOS]: Move 'buffer' to a better place (i.e. fix build).
Modified:
trunk/reactos/ntoskrnl/kd/i386/kdbg.c
Modified: trunk/reactos/ntoskrnl/kd/i386/kdbg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kd/i386/kdbg.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/kd/i386/kdbg.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kd/i386/kdbg.c [iso-8859-1] Sun Oct 13 23:07:26 2013
@@ -53,7 +53,6 @@
IN ULONG ComPortNumber)
{
NTSTATUS Status;
- CHAR buffer[80];
#if 0 // Deactivated because never used in fact (was in KdPortInitialize but we use
KdPortInitializeEx)
/*
@@ -109,6 +108,8 @@
else
{
#ifndef NDEBUG
+ CHAR buffer[80];
+
/* Print message to blue screen */
sprintf(buffer,
"\r\nKernel Debugger: Serial port found: COM%ld (Port 0x%lx)
BaudRate %ld\r\n\r\n",