diff options
-rw-r--r-- | trans/streamio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/streamio.c b/trans/streamio.c index f276ad6b..84588248 100644 --- a/trans/streamio.c +++ b/trans/streamio.c @@ -574,7 +574,7 @@ io_select_common (struct trivfs_protid *cred, available |= SELECT_READ; if ((*type & SELECT_WRITE) && (!(cred->po->openmodes & O_WRITE) || - (buffer_writable && buffer_writable (output_buffer)))) + (buffer_writable (output_buffer)))) available |= SELECT_WRITE; if (available) |