diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-10-22 22:55:02 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-10-22 22:55:02 +0200 |
| commit | 3c33d36759a316b8c118b77b3eed040425db8e0a (patch) | |
| tree | 07d5a05ceccf7de043f41ea49e34824e235b0cd9 /lib | |
| parent | 9fafc0e4937b039d67031e09843af12e9049cd73 (diff) | |
working on ext2 and readdir syscall
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/logger/log.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/logger/log.c b/lib/logger/log.c index 93245bd..391fbcf 100644 --- a/lib/logger/log.c +++ b/lib/logger/log.c @@ -4,6 +4,7 @@ #include <stdarg.h> #include "log.h" +#include "kernel/config.h" #include "lib/int/stdint.h" #include "kernel/time.h" @@ -17,7 +18,9 @@ void PutConsole(char *str, int color); void log(char *module_name, int log_level, char *format_string, ...) { +#ifdef FOOLOS_LOG_OFF return; +#endif if(log_level<FOOLOS_LOG_INFO)return; |
