diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-02-08 19:00:29 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-02-08 19:00:29 +0000 |
commit | 513433e720f88f7ecec3b17730dbfef38476a35c (patch) | |
tree | 448f3e4cbc92a495ee5a8f9cd05acc7268198b45 | |
parent | d1aa27b7d1965a4c637fa7b61904093c73bfe2bd (diff) |
Formerly io-select.c.~4~
-rw-r--r-- | libdiskfs/io-select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/io-select.c b/libdiskfs/io-select.c index 4b64781e..cf01b69b 100644 --- a/libdiskfs/io-select.c +++ b/libdiskfs/io-select.c @@ -32,7 +32,7 @@ diskfs_S_io_select (struct protid *cred, mutex_lock (&cred->po->np->lock); if (((type & SELECT_READ) && !(cred->po->openstat & O_READ)) - || ((type & SELECT_WRITE) && !(cred-po->openstat & O_WRITE))) + || ((type & SELECT_WRITE) && !(cred->po->openstat & O_WRITE))) { mutex_unlock (&cred->po->np->lock); return EBADF; |