Commit 203a9300 authored by James Foster's avatar James Foster

Merge branch 'log_printf' into 2204-CPTR-352

parents 8943ecf0 b2f3c5f4
......@@ -171,7 +171,11 @@ struct log_printer : public printer {
// things get ugly when multiple processes output at the same time!
static spinlock printLock;
void log_vprintf(const char* format, va_list val) {
spinlock_guard guard(printLock);
log_printer p;
p.vprintf(0, format, val);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment