From b1459ca4b42514bfd40a887c9830f5b1c5ded016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sat, 12 Apr 2008 07:08:56 +0000 Subject: [PATCH] hmm I managed to break the comparaison order... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24928 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/fs/fd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/fs/fd.cpp b/src/system/kernel/fs/fd.cpp index 7343cdba0c..552edf35d8 100644 --- a/src/system/kernel/fs/fd.cpp +++ b/src/system/kernel/fs/fd.cpp @@ -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)