hmm I managed to break the comparaison order...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24928 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
bdfe92370f
commit
b1459ca4b4
@ -658,7 +658,7 @@ common_user_io(int fd, off_t pos, void *buffer, size_t length, bool write)
|
||||
else
|
||||
status = descriptor->ops->fd_read(descriptor, pos, buffer, &length);
|
||||
|
||||
if (status.operator>(B_OK))
|
||||
if (status.operator<(B_OK))
|
||||
return status;
|
||||
|
||||
if (movePosition)
|
||||
|
Loading…
Reference in New Issue
Block a user