diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2013-06-09 01:19:22 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2013-06-09 01:19:22 +0000 |
| commit | 0b4b96e6e5e0cd044dbcb89c9ee2d7cf8ea69a20 (patch) | |
| tree | 917adeaf5cab25f757afa83859625ad68edd74b4 /lib/libstand | |
| parent | 8ad6d9175cb2dee6592a20551a144c8a924dc515 (diff) | |
Notes
Diffstat (limited to 'lib/libstand')
| -rw-r--r-- | lib/libstand/ext2fs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libstand/ext2fs.c b/lib/libstand/ext2fs.c index 1bd78e20acb1..e0afb3eddd6d 100644 --- a/lib/libstand/ext2fs.c +++ b/lib/libstand/ext2fs.c @@ -536,6 +536,7 @@ ext2fs_open(const char *upath, struct open_file *f) * Found terminal component. */ error = 0; + fp->f_seekp = 0; out: if (buf) free(buf); @@ -584,6 +585,7 @@ read_inode(ino_t inumber, struct open_file *f) for (level = 0; level < NIADDR; level++) fp->f_blkno[level] = -1; fp->f_buf_blkno = -1; + fp->f_seekp = 0; out: free(buf); |
