diff --git a/osdep.c b/osdep.c index 718a25d..70bad27 100644 --- a/osdep.c +++ b/osdep.c @@ -211,13 +211,13 @@ ssize_t qemu_send_full(int fd, const void *buf, size_t count, int flags) * - return a short write (then name is wrong) * - busy wait adding (errno == EAGAIN) to the loop */ -ssize_t qemu_recv_full(int fd, const void *buf, size_t count, int flags) +ssize_t qemu_recv_full(int fd, void *buf, size_t count, int flags) { ssize_t ret = 0; ssize_t total = 0; while (count) { - ret = recv(fd, buf, count, flags); + ret = qemu_recv(fd, buf, count, flags); if (ret <= 0) { if (ret < 0 && errno == EINTR) { continue; diff --git a/roms/SLOF b/roms/SLOF index d1d6b53..b94bde0 160000 --- a/roms/SLOF +++ b/roms/SLOF @@ -1 +1 @@ -Subproject commit d1d6b53b713a2b7c2c25685268fa932d28a4b4c0 +Subproject commit b94bde008b0d49ec4bfe933e110d0952d032ac28