This commit is contained in:
Russ Cox
2005-11-02 15:21:51 +00:00
parent e4f9a4578a
commit 06b60293ad
2 changed files with 5 additions and 4 deletions

View File

@ -4,11 +4,12 @@
#include "fns.h"
#include "error.h"
#undef write
extern int panicking;
void
uartputs(char *s, int n)
{
// write(1, s, n);
if(panicking)
write(1, s, n);
}