diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2004-09-04 14:54:01 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2004-09-04 14:54:01 +0000 |
| commit | e3cce87239a8bc917f235a4d9960a99ac7bb337f (patch) | |
| tree | 15e04ebf08e13b1246df2c020ba5bd1e4a8671bc | |
| parent | 8051b0799057c978bb6169190c9dd502e5cd85f6 (diff) | |
Notes
| -rw-r--r-- | lib/libstand/ufs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libstand/ufs.c b/lib/libstand/ufs.c index 6a3d758495328..169991fb9fb2c 100644 --- a/lib/libstand/ufs.c +++ b/lib/libstand/ufs.c @@ -191,6 +191,7 @@ read_inode(inumber, f) fp->f_blkno[level] = -1; fp->f_buf_blkno = -1; } + fp->f_seekp = 0; out: free(buf); return (rc); @@ -685,6 +686,7 @@ ufs_open(upath, f) * Found terminal component. */ rc = 0; + fp->f_seekp = 0; out: if (buf) free(buf); |
