diff options
| author | lonkaars <loek@pipeframe.xyz> | 2024-04-17 14:06:19 +0200 |
|---|---|---|
| committer | lonkaars <loek@pipeframe.xyz> | 2024-04-17 14:06:19 +0200 |
| commit | 1e01e4bcc637dfbdea24f95376da96d1a7f05ff8 (patch) | |
| tree | af158c08bf986f1d50bcc54d34aa77c14d8c1b26 /1/main.c | |
| parent | 9b173b99874556041c3302b338e27e48978ec967 (diff) | |
rename kernel module
Diffstat (limited to '1/main.c')
| -rw-r--r-- | 1/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3,15 +3,15 @@ MODULE_LICENSE("MIT"); -static int hello_init(void) { +static int mod_init(void) { printk(KERN_ALERT "Hello, world\n"); return 0; } -static void hello_exit(void) { +static void mod_exit(void) { printk(KERN_ALERT "Goodbye, world\n"); } -module_init(hello_init); -module_exit(hello_exit); +module_init(mod_init); +module_exit(mod_exit); |