mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-27 05:05:32 +03:00
Kernel: Convert klog() => AK::Format in TestModule
This commit is contained in:
parent
73e06a1983
commit
18e1d246b7
Notes:
sideshowbarker
2024-07-18 21:28:23 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/18e1d246b7a
@ -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!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user