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:
@@ -658,7 +658,7 @@ common_user_io(int fd, off_t pos, void *buffer, size_t length, bool write)
|
|||||||
else
|
else
|
||||||
status = descriptor->ops->fd_read(descriptor, pos, buffer, &length);
|
status = descriptor->ops->fd_read(descriptor, pos, buffer, &length);
|
||||||
|
|
||||||
if (status.operator>(B_OK))
|
if (status.operator<(B_OK))
|
||||||
return status;
|
return status;
|
||||||
|
|
||||||
if (movePosition)
|
if (movePosition)
|
||||||
|
|||||||
Reference in New Issue
Block a user