aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hello-world.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hello-world.c b/hello-world.c
index 0252c4e..8ca2dc6 100644
--- a/hello-world.c
+++ b/hello-world.c
@@ -21,6 +21,8 @@ MODULE_VERSION("0.1");
static int __init hello_world_init(void) {
/* print "Hello World" to the dmesg on module load */
printk(KERN_INFO "Hello World\n");
+
+ return 0;
}
/* Last call before module unload, complete any cleanup */