1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 01:47:36 +00:00

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

View file

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