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:
Jérôme Duval 2008-04-12 07:08:56 +00:00
parent bdfe92370f
commit b1459ca4b4

View File

@ -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)