diff options
| author | rsc <devnull@localhost> | 2005-01-06 23:07:19 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2005-01-06 23:07:19 +0000 |
| commit | af89fc108d61625959704a08ffdd44adfd86a9d4 (patch) | |
| tree | ecb052f025f0a0724231b70f2ecc8fa2aa82eec2 /src/libthread/iorw.c | |
| parent | 9b4de09d413c43059afcd75ceba4d2adcdc0a0a8 (diff) | |
| download | plan9port-af89fc108d61625959704a08ffdd44adfd86a9d4.tar.gz plan9port-af89fc108d61625959704a08ffdd44adfd86a9d4.zip | |
more debugging
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 |
