summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc_r/uthread/uthread_read.c4
-rw-r--r--lib/libpthread/uthread/uthread_read.c4
2 files changed, 4 insertions, 4 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: */
diff --git a/lib/libpthread/uthread/uthread_read.c b/lib/libpthread/uthread/uthread_read.c
index 08c12241ed7..eb049a6cf57 100644
--- a/lib/libpthread/uthread/uthread_read.c
+++ b/lib/libpthread/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: */