diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-18 01:31:58 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-18 01:31:58 +0200 |
| commit | fe79552d9fcfd60d8c2bb828c6b93cf471ef7b75 (patch) | |
| tree | 7bf842857ce4f485101848292405a96f322fe374 /lib | |
| parent | db22b587966b4a4eaa47536f32ca812532446bcb (diff) | |
fifo interface
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/logger/log.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/logger/log.c b/lib/logger/log.c index 9348f01..daa3713 100644 --- a/lib/logger/log.c +++ b/lib/logger/log.c @@ -7,8 +7,8 @@ #include "kernel/kernel.h" #include "kernel/config.h" -#include "terminal/vt52.h" #include "kernel/timer.h" +#include "kernel/fifo.h" static char buffer[LOG_BUF_SIZE]; @@ -21,7 +21,8 @@ static void log_string(char *str) { while(*str!=0) { - fifo_put(&get_fool()->fifo_stdout,*(str++)); + fifo_put(&get_fool()->std_out,*(str++)); + } } |
