forked from Bananymous/banan-os
LibC: Remove actual printing from putc() since we were panicing anyway
This commit is contained in:
parent
26f1ebe26f
commit
ac2ba8bc56
|
@ -1,7 +1,6 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#if defined(__is_libk)
|
||||
#include <kernel/tty.h>
|
||||
#include <kernel/panic.h>
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
|
@ -11,8 +10,6 @@ int putchar(int c)
|
|||
{
|
||||
#if defined(__is_libk)
|
||||
Kernel::panic("Please use kprint() instead of stdio");
|
||||
char ch = (char)c;
|
||||
terminal_write(&ch, sizeof(ch));
|
||||
#else
|
||||
abort();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue