in error(), use puts() instead of printf()

This commit is contained in:
Laurent Vivier 2005-05-23 17:08:51 +00:00
parent 9b8aab8020
commit a74c487fba

View File

@ -62,9 +62,9 @@ unsigned char *c2pstring(char* s)
void error(char *x)
{
printf("\n\n");
printf(x);
printf("\n\n -- System halted\n");
puts("\n");
puts(x);
puts("\n -- System halted\n");
while(1); /* Halt */
}