seq_file, printk to pr_info, disk persistency

This commit is contained in:
Ciro Santilli
2017-07-13 13:06:25 +01:00
parent 32855c325e
commit 8058ee9f2b
9 changed files with 201 additions and 20 deletions

View File

@@ -15,13 +15,13 @@ MODULE_LICENSE("GPL");
static int myinit(void)
{
printk(KERN_INFO "hello init\n");
pr_info("hello init\n");
return 0;
}
static void myexit(void)
{
printk(KERN_INFO "hello exit\n");
pr_info("hello exit\n");
}
module_init(myinit)