mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
Noux: fix previous attempt of fixing SYSCALL_READ
This commit is contained in:
parent
8ed489c4bc
commit
af58d39854
@ -162,11 +162,7 @@ bool Noux::Child::syscall(Noux::Session::Syscall sc)
|
||||
while (!io->check_unblock(true, false, false))
|
||||
_block_for_io_channel(io);
|
||||
|
||||
io->read(_sysio);
|
||||
if (_sysio->read_out.count == -1)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
return io->read(_sysio);
|
||||
}
|
||||
|
||||
case SYSCALL_FTRUNCATE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user