Merge pull request #51 from ChinYikMing/fix-init-mesg

Fix init message
This commit is contained in:
Jim Huang 2021-08-10 00:55:56 +08:00 committed by GitHub
commit b23168befe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ static int __init sleep_init(void)
proc_set_size(Our_Proc_File, 80); proc_set_size(Our_Proc_File, 80);
proc_set_user(Our_Proc_File, GLOBAL_ROOT_UID, GLOBAL_ROOT_GID); 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; return 0;
} }