
Make jlseek properly return the offset.

---

 cur-root/unix.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN unix.c~jlseek_return_offset unix.c
--- cur/unix.c~jlseek_return_offset	2004-09-08 13:29:08.015814128 -0300
+++ cur-root/unix.c	2004-09-08 13:29:08.018813672 -0300
@@ -172,7 +172,7 @@ int jtruncate(struct jfs *fs, off_t leng
 /* lseek wrapper */
 off_t jlseek(struct jfs *fs, off_t offset, int whence)
 {
-	int rv;
+	off_t rv;
 
 	pthread_mutex_lock(&(fs->lock));
 	rv = lseek(fs->fd, offset, whence);
_

