Skip to content

Commit

Permalink
kernel: Fix compile error on 4.4. close #1720
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed May 10, 2024
1 parent 109442f commit 7af4f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sucompat.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ static int devpts_get_priv_pre(struct kprobe *p, struct pt_regs *regs)
struct dentry *dentry = (struct dentry *)PT_REGS_PARM1(regs);
inode = dentry->d_inode;
#else
inode = (struct inode *)PT_REGS_PARM1(real_regs);
inode = (struct inode *)PT_REGS_PARM1(regs);
#endif

return ksu_handle_devpts(inode);
Expand Down

0 comments on commit 7af4f33

Please sign in to comment.