blob: e0286f4dde7459c00d67183f63ae2a9a83fabbfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aj,v 1.1 1998/10/28 18:18:08 bad Exp $
--- mit-pthreads/pthreads/fd.c.orig Tue Jan 13 14:28:04 1998
+++ mit-pthreads/pthreads/fd.c Sat Oct 24 22:24:28 1998
@@ -702,7 +702,7 @@
*/
off_t lseek(int fd, off_t offset, int whence)
{
- int ret;
+ off_t ret;
if ((ret = fd_lock(fd, FD_RDWR, NULL)) == OK) {
ret = fd_table[fd]->ops->seek(fd_table[fd]->fd,
|