diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-08-17 06:52:24 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-08-17 06:52:24 +0000 |
commit | 35dd3cd404eafdfd7f1a2dd393723b280eac4b5f (patch) | |
tree | 309d0985685070587a979feda2a22a243fd17c28 /lib | |
parent | f64401bd43ab3aae16a5839d50e78018042684b1 (diff) |
correctly return ssize_t.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc_r/uthread/uthread_readv.c | 4 | ||||
-rw-r--r-- | lib/libpthread/uthread/uthread_readv.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc_r/uthread/uthread_readv.c b/lib/libc_r/uthread/uthread_readv.c index 1ef0ac51ba1..4a91f7cb887 100644 --- a/lib/libc_r/uthread/uthread_readv.c +++ b/lib/libc_r/uthread/uthread_readv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_readv.c,v 1.3 1999/11/25 07:01:42 d Exp $ */ +/* $OpenBSD: uthread_readv.c,v 1.4 2001/08/17 06:52:23 fgsch Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -45,7 +45,7 @@ ssize_t readv(int fd, const struct iovec * iov, int iovcnt) { - int ret; + ssize_t ret; int type; /* Lock the file descriptor for read: */ diff --git a/lib/libpthread/uthread/uthread_readv.c b/lib/libpthread/uthread/uthread_readv.c index 1ef0ac51ba1..4a91f7cb887 100644 --- a/lib/libpthread/uthread/uthread_readv.c +++ b/lib/libpthread/uthread/uthread_readv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_readv.c,v 1.3 1999/11/25 07:01:42 d Exp $ */ +/* $OpenBSD: uthread_readv.c,v 1.4 2001/08/17 06:52:23 fgsch Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -45,7 +45,7 @@ ssize_t readv(int fd, const struct iovec * iov, int iovcnt) { - int ret; + ssize_t ret; int type; /* Lock the file descriptor for read: */ |