Pass system kernel's console to the internal print() function

This commit is contained in:
Eryn Wells 2016-03-29 11:56:06 -04:00
parent f8778d739c
commit 31c13bcba2

View file

@ -8,6 +8,7 @@
#include <stdarg.h>
#include "Console.hh"
#include "Kernel.hh"
#include "kstd/ASCII.hh"
#include "kstd/CString.hh"
#include "kstd/Types.hh"
@ -316,7 +317,7 @@ printFormat(const char* format,
spec.type = Spec::Type::String;
break;
}
nchars += spec.print(*this);
nchars += spec.print(kernel::systemKernel().console());
continue;
}