diff options
Diffstat (limited to 'src/libthread/iorw.c')
-rw-r--r-- | src/libthread/iorw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libthread/iorw.c b/src/libthread/iorw.c index 2ad80878..ce86d146 100644 --- a/src/libthread/iorw.c +++ b/src/libthread/iorw.c @@ -123,7 +123,8 @@ _iowrite(va_list *arg) long iowrite(Ioproc *io, int fd, void *a, long n) { - return iocall(io, _iowrite, fd, a, n); + n = iocall(io, _iowrite, fd, a, n); + return n; } static long |