Fix init message

This commit is contained in:
ChinYikMing 2021-08-10 00:48:19 +08:00
parent 6b6083fca2
commit ad4ac48eec

View File

@ -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;
}