summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
Diffstat (limited to 'term')
-rw-r--r--term/users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term/users.c b/term/users.c
index a987454d..1b50f3b9 100644
--- a/term/users.c
+++ b/term/users.c
@@ -2030,7 +2030,7 @@ trivfs_S_io_select (struct trivfs_protid *cred,
*type = available;
mutex_unlock (&global_lock);
- return available ? 0 EINTR;
+ return available ? 0 : EINTR;
}
}