diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-08-17 06:50:26 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-08-17 06:50:26 +0000 |
commit | f64401bd43ab3aae16a5839d50e78018042684b1 (patch) | |
tree | 4a94140c4c2822c53ee2d2906e4a14dee17332b3 /lib/libc_r/uthread | |
parent | 8b21feb6619332812b8324ad2340502096e02197 (diff) |
correctly return ssize_t.
Diffstat (limited to 'lib/libc_r/uthread')
-rw-r--r-- | lib/libc_r/uthread/uthread_read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_read.c b/lib/libc_r/uthread/uthread_read.c index 08c12241ed7..eb049a6cf57 100644 --- a/lib/libc_r/uthread/uthread_read.c +++ b/lib/libc_r/uthread/uthread_read.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_read.c,v 1.5 1999/11/25 07:01:41 d Exp $ */ +/* $OpenBSD: uthread_read.c,v 1.6 2001/08/17 06:50:25 fgsch Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -45,7 +45,7 @@ ssize_t read(int fd, void *buf, size_t nbytes) { - int ret; + ssize_t ret; int type; /* This is a cancellation point: */ |