summaryrefslogtreecommitdiff
path: root/libdiskfs/ifsock.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-10-10 18:43:30 +0000
committerThomas Bushnell <thomas@gnu.org>1996-10-10 18:43:30 +0000
commit954b619d29ec3b8a44ef9eb4b623d19a1112549d (patch)
treec29b0735aef4baeddeadced0a5abf477bc52d4f3 /libdiskfs/ifsock.c
parente10013758b917f2336964e1f4b6ee1ff2ef6578b (diff)
*** empty log message ***
Diffstat (limited to 'libdiskfs/ifsock.c')
-rw-r--r--libdiskfs/ifsock.c2
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);