From 51c7c6091a2d278189cdad15a22f6f6950494209 Mon Sep 17 00:00:00 2001 From: jean Date: Thu, 1 Feb 2001 16:30:46 +0000 Subject: [PATCH] fourth argument of WriteConsoleA is mandatory svn path=/trunk/; revision=1589 --- reactos/subsys/system/shell/shell.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/system/shell/shell.c b/reactos/subsys/system/shell/shell.c index 32fff52d62b..496abfe2cc7 100644 --- a/reactos/subsys/system/shell/shell.c +++ b/reactos/subsys/system/shell/shell.c @@ -1,4 +1,4 @@ -/* $Id: shell.c,v 1.2 2001/01/21 00:05:53 phreak Exp $ +/* $Id: shell.c,v 1.3 2001/02/01 16:30:46 jean Exp $ * * PROJECT : ReactOS Operating System * DESCRIPTION: ReactOS' Native Shell @@ -23,11 +23,12 @@ void debug_printf(char* fmt, ...) { va_list args; char buffer[255]; + DWORD nbChar; va_start(args,fmt); vsprintf(buffer,fmt,args); va_end(args); - WriteConsoleA(OutputHandle, buffer, strlen(buffer), NULL, NULL); + WriteConsoleA(OutputHandle, buffer, strlen(buffer), &nbChar, NULL); }