Replace printf with DEBUG
This commit is contained in:
parent
22397c9345
commit
23a253aa50
1 changed files with 2 additions and 2 deletions
|
@ -165,10 +165,10 @@ ExceptionHandler (ExceptionType which)
|
||||||
do {
|
do {
|
||||||
char* write = new char[MAX_STRING_SIZE];
|
char* write = new char[MAX_STRING_SIZE];
|
||||||
consoledriver->GetString(write, MAX_STRING_SIZE);
|
consoledriver->GetString(write, MAX_STRING_SIZE);
|
||||||
printf("write:%s:\n", write);
|
DEBUG('s', "write:%s:\n", write);
|
||||||
writesize = copyStringToMachine(addr, write, MAX_STRING_SIZE);
|
writesize = copyStringToMachine(addr, write, MAX_STRING_SIZE);
|
||||||
addr += writesize;
|
addr += writesize;
|
||||||
printf("Writed:%d\n", writesize);
|
DEBUG('s', "Writed:%d\n", writesize);
|
||||||
delete [] write;
|
delete [] write;
|
||||||
} while( writesize == MAX_STRING_SIZE - 1 );
|
} while( writesize == MAX_STRING_SIZE - 1 );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue