vfs_lxip: fix return code in blocking accept case

Ref #3217
This commit is contained in:
Stefan Kalkowski 2019-03-11 10:33:53 +01:00 committed by Christian Helmuth
parent 00eb100114
commit 3e70b53165

View File

@ -920,7 +920,7 @@ class Vfs::Lxip_accept_file : public Vfs::Lxip_file
Genode::strncpy(dst, "1\n", len); Genode::strncpy(dst, "1\n", len);
return Genode::strlen(dst); return Genode::strlen(dst);
} }
return 0; throw Would_block();
} }
}; };