diff options
Diffstat (limited to '1/main.c')
-rw-r--r-- | 1/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |