diff options
Diffstat (limited to 'ipc/shm.c')
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |