From ad4ac48eec0c9e54dd9eb6683df6cf8c1422251a Mon Sep 17 00:00:00 2001 From: ChinYikMing Date: Tue, 10 Aug 2021 00:48:19 +0800 Subject: [PATCH] Fix init message --- examples/sleep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/sleep.c b/examples/sleep.c index ad856c4..e923a57 100644 --- a/examples/sleep.c +++ b/examples/sleep.c @@ -197,7 +197,7 @@ static int __init sleep_init(void) proc_set_size(Our_Proc_File, 80); proc_set_user(Our_Proc_File, GLOBAL_ROOT_UID, GLOBAL_ROOT_GID); - pr_info("/proc/test created\n"); + pr_info("/proc/%s created\n", PROC_ENTRY_FILENAME); return 0; }