summaryrefslogtreecommitdiff
path: root/libtrivfs/io-modes-get.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-06-22 19:25:59 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-06-22 19:25:59 +0000
commit9a53438c57932ccea7af5d5e24c5d05055768117 (patch)
treeaed3336ef0c5b2f147258ae1681a278666bf6209 /libtrivfs/io-modes-get.c
parentefad94482381dc9125975dfc30cbd6a47db4fa3b (diff)
Formerly io-modes-get.c.~3~
Diffstat (limited to 'libtrivfs/io-modes-get.c')
-rw-r--r--libtrivfs/io-modes-get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtrivfs/io-modes-get.c b/libtrivfs/io-modes-get.c
index 007a973c..76653a89 100644
--- a/libtrivfs/io-modes-get.c
+++ b/libtrivfs/io-modes-get.c
@@ -32,7 +32,7 @@ trivfs_S_io_get_openmodes (struct trivfs_protid *cred,
return EOPNOTSUPP;
else
{
- *bits = 0;
+ *bits = cred->po->openmodes;
return 0;
}
}