diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 | 
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 | 
| commit | 6c06b4e2aa2a28d1f0bbd29ecdce35aaaf600ce8 (patch) | |
| tree | e1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libc/stdio/stdio.c | |
| parent | a2f0036ac41fe46dd47d6339982567f19437ade9 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/stdio.c')
| -rw-r--r-- | lib/libc/stdio/stdio.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/libc/stdio/stdio.c b/lib/libc/stdio/stdio.c index 78993877daf8..c2d7d874632a 100644 --- a/lib/libc/stdio/stdio.c +++ b/lib/libc/stdio/stdio.c @@ -54,7 +54,7 @@ __sread(cookie, buf, n)  {  	register FILE *fp = cookie;  	register int ret; -	 +  	ret = read(fp->_file, buf, n);  	/* if the read succeeded, update the current offset */  	if (ret >= 0) @@ -85,7 +85,7 @@ __sseek(cookie, offset, whence)  {  	register FILE *fp = cookie;  	register off_t ret; -	 +  	ret = lseek(fp->_file, (off_t)offset, whence);  	if (ret == -1L)  		fp->_flags &= ~__SOFF; | 
