diff options
| author | Miguel <m.i@gmx.at> | 2018-10-18 06:23:26 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-18 06:23:26 +0200 |
| commit | e2a6ca9d03a3c0743384f0955609650f2cdce9bb (patch) | |
| tree | 09da82ba6fbb51c9492d05bd94a3d7b044492061 /kernel/log.c | |
| parent | 4d1a149531bc5d672cdf4a5a3e010662f9611d61 (diff) | |
struggling with new syscalls
Diffstat (limited to 'kernel/log.c')
| -rw-r--r-- | kernel/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/log.c b/kernel/log.c index 179f9a8..0e9adf1 100644 --- a/kernel/log.c +++ b/kernel/log.c @@ -51,7 +51,7 @@ void log(char *module_name, int prio, char *format_string, ...) tfp_sprintf(buf_log,"\033[36;40m%s\033[33;40mCPU %02d:\033[31;40m%s:\033[37;40m %s\n",buf_time,cpu,module_name,buf_info); // tfp_sprintf(buf_log,"%sCPU %02d:%s: %s\n",buf_time,cpu,module_name,buf_info); - spinlock_spin(SPINLOCK_LOG); +// spinlock_spin(SPINLOCK_LOG); log_string(buf_log); - spinlock_release(SPINLOCK_LOG); +// spinlock_release(SPINLOCK_LOG); } |
