kernel: fix typo in allowlist.c (#663)

creat -> create
This commit is contained in:
Ikko Eltociear Ashimine
2023-06-20 12:03:09 +09:00
committed by GitHub
parent 90299ad0bb
commit 9b2f907a48

View File

@@ -354,7 +354,7 @@ void do_save_allow_list(struct work_struct *work)
filp_open(KERNEL_SU_ALLOWLIST, O_WRONLY | O_CREAT, 0644); filp_open(KERNEL_SU_ALLOWLIST, O_WRONLY | O_CREAT, 0644);
if (IS_ERR(fp)) { if (IS_ERR(fp)) {
pr_err("save_allow_list creat file failed: %ld\n", PTR_ERR(fp)); pr_err("save_allow_list create file failed: %ld\n", PTR_ERR(fp));
return; return;
} }