Seems like I'm getting old: fixed a similar typo in pipefs (like the one I

did in ports.c), thanks to Jack Burton for pointing this out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6932 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-03-08 12:08:06 +00:00
parent 6f5cefa919
commit 349b01808e
+1 -1
View File
@@ -1017,7 +1017,7 @@ pipefs_read(fs_volume _volume, fs_vnode _node, fs_cookie _cookie, off_t /*pos*/,
status_t status = request.Wait((cookie->open_mode & O_NONBLOCK) != 0);
inode->RemoveRequest(request);
if (status == B_TIMED_OUT || B_INTERRUPTED && request.BytesRead() > 0)
if ((status == B_TIMED_OUT || status == B_INTERRUPTED) && request.BytesRead() > 0)
status = B_OK;
if (status == B_OK)