diff options
Diffstat (limited to 'libdiskfs/ifsock.c')
-rw-r--r-- | libdiskfs/ifsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/ifsock.c b/libdiskfs/ifsock.c index bee9cc19..cffda289 100644 --- a/libdiskfs/ifsock.c +++ b/libdiskfs/ifsock.c @@ -45,7 +45,7 @@ diskfs_S_ifsock_getsockaddr (struct protid *cred, mutex_unlock (&np->lock); return EOPNOTSUPP; } - err = diskfs_access (np, S_IREAD, cred); + err = diskfs_access (np, S_IWRITE, cred); if (err) { mutex_unlock (&np->lock); |