mirror of
https://github.com/vivier/EMILE.git
synced 2026-10-22 04:02:33 +00:00
Really change putstring() to console_putstring()
This commit is contained in:
1 parent
ec1075431d
commit
c19a88328c
1 file changed
+4
-3
+4
-3
@@ -8,6 +8,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "misc.h"
|
||||
#include "console.h"
|
||||
|
||||
int strlen(const char* s)
|
||||
{
|
||||
@@ -62,9 +63,9 @@ unsigned char *c2pstring(char* s)
|
||||
|
||||
void error(char *x)
|
||||
{
|
||||
putstring("\n\n");
|
||||
putstring(x);
|
||||
putstring("\n\n -- System halted\n");
|
||||
console_putstring("\n\n");
|
||||
console_putstring(x);
|
||||
console_putstring("\n\n -- System halted\n");
|
||||
|
||||
while(1); /* Halt */
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user