Kernel: Convert klog() => AK::Format in TestModule

This commit is contained in:
Andreas Kling 2021-03-12 14:07:35 +01:00
parent 73e06a1983
commit 18e1d246b7
Notes: sideshowbarker 2024-07-18 21:28:23 +09:00

View File

@ -31,14 +31,14 @@ extern "C" const char module_name[] = "TestModule";
extern "C" void module_init()
{
klog() << "TestModule has booted!";
dmesgln("TestModule has booted!");
for (int i = 0; i < 3; ++i) {
klog() << "i is now " << i;
dmesgln("i is now {}", i);
}
}
extern "C" void module_fini()
{
klog() << "TestModule is being removed!";
dmesgln("TestModule is being removed!");
}