Really change putstring() to console_putstring()

This commit is contained in:
Laurent Vivier 2005-05-25 06:32:58 +00:00
parent ec1075431d
commit c19a88328c

View File

@ -8,6 +8,7 @@
#include <stdio.h> #include <stdio.h>
#include "misc.h" #include "misc.h"
#include "console.h"
int strlen(const char* s) int strlen(const char* s)
{ {
@ -62,9 +63,9 @@ unsigned char *c2pstring(char* s)
void error(char *x) void error(char *x)
{ {
putstring("\n\n"); console_putstring("\n\n");
putstring(x); console_putstring(x);
putstring("\n\n -- System halted\n"); console_putstring("\n\n -- System halted\n");
while(1); /* Halt */ while(1); /* Halt */
} }