From 9dd4d28d7be0a2651a700db9cecafecb2edcbd5b Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Tue, 8 Dec 2009 07:16:58 -0200 Subject: [PATCH] Rename the proc file to hellop. --- hello_procfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello_procfs.c b/hello_procfs.c index a3ce21d..956f74d 100644 --- a/hello_procfs.c +++ b/hello_procfs.c @@ -53,7 +53,7 @@ static int hello_procfs_init(void) /* create the proc entry and set its fops: there is a potential race * here */ struct proc_dir_entry *entry; - entry = create_proc_entry("gnu", 0666, NULL); + entry = create_proc_entry("hellop", 0666, NULL); entry->proc_fops = &hello_procfs_fops; return 0; } @@ -61,7 +61,7 @@ static int hello_procfs_init(void) static void hello_procfs_exit(void) { /* remove our proc entry */ - remove_proc_entry("gnu", NULL); + remove_proc_entry("hellop", NULL); } module_init(hello_procfs_init); -- 2.20.1