aboutsummaryrefslogtreecommitdiff
path: root/1/main.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-19 12:34:48 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-19 12:34:48 +0200
commitbacaaf0b7595730904613e86d40400f72682904d (patch)
treee0394a93cd8eeed53962fce04e03916ccdfda579 /1/main.c
parent4335a620a364b70f06421b1698706a9dc3324a46 (diff)
finish tests
Diffstat (limited to '1/main.c')
-rw-r--r--1/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/1/main.c b/1/main.c
index 101f675..d441f19 100644
--- a/1/main.c
+++ b/1/main.c
@@ -53,7 +53,7 @@ static int mod_init(void) {
goto free_device;
}
- printk("%s %d:%d\n", __PRETTY_FUNCTION__, MAJOR(node), MINOR(node));
+ printk("%s() -> 0 (%d:%d)\n", __PRETTY_FUNCTION__, MAJOR(node), MINOR(node));
return 0;
free_device:
@@ -63,7 +63,7 @@ free_cdev:
free_class:
class_destroy(class);
return_err:
- printk("%s: %d\n", __PRETTY_FUNCTION__, err);
+ printk("%s() -> %d\n", __PRETTY_FUNCTION__, err);
return err;
}
@@ -71,7 +71,7 @@ static void mod_exit(void) {
device_destroy(class, node);
cdev_del(cdev);
class_destroy(class);
- printk("%s\n", __PRETTY_FUNCTION__);
+ printk("%s()\n", __PRETTY_FUNCTION__);
}
module_init(mod_init);