diff options
author | root <root> | 2009-06-03 12:24:49 +0000 |
---|---|---|
committer | root <root> | 2009-06-03 12:24:49 +0000 |
commit | d64cc727dc4e875228983078ebca990e8d6b9dbd (patch) | |
tree | 4ed44deb39a9fea9cf503622a6ba3bd25d8d61de | |
parent | 217dcba927bf9f2ca731fdd9088b3d542d3035b7 (diff) |
*** empty log message ***
-rw-r--r-- | eio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -773,7 +773,7 @@ eio__pwrite (int fd, void *buf, size_t count, off_t offset) ooffset = lseek (fd, 0, SEEK_CUR); lseek (fd, offset, SEEK_SET); res = write (fd, buf, count); - lseek (fd, offset, SEEK_SET); + lseek (fd, ooffset, SEEK_SET); X_UNLOCK (preadwritelock); return res; |