Pass system kernel's console to the internal print() function
This commit is contained in:
parent
f8778d739c
commit
31c13bcba2
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue