aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc')
-rw-r--r--ipc/shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/shm.c b/ipc/shm.c
index 0add3fa5f547..867e5d6a55c2 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -817,7 +817,7 @@ long do_shmat(int shmid, char __user *shmaddr, int shmflg, ulong *raddr)
817 struct ipc_namespace *ns; 817 struct ipc_namespace *ns;
818 struct shm_file_data *sfd; 818 struct shm_file_data *sfd;
819 struct path path; 819 struct path path;
820 mode_t f_mode; 820 fmode_t f_mode;
821 821
822 err = -EINVAL; 822 err = -EINVAL;
823 if (shmid < 0) 823 if (shmid < 0)