mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 23:57:25 +00:00
Kernel: Convert klog() => AK::Format in TestModule
This commit is contained in:
@@ -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!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user