[Midnightbsd-cvs] src [9726] trunk/lib/libstand/ext2fs.c: fix ext2fs
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Dec 22 15:32:35 EST 2017
Revision: 9726
http://svnweb.midnightbsd.org/src/?rev=9726
Author: laffer1
Date: 2017-12-22 15:32:34 -0500 (Fri, 22 Dec 2017)
Log Message:
-----------
fix ext2fs
Modified Paths:
--------------
trunk/lib/libstand/ext2fs.c
Modified: trunk/lib/libstand/ext2fs.c
===================================================================
--- trunk/lib/libstand/ext2fs.c 2017-12-22 20:28:12 UTC (rev 9725)
+++ trunk/lib/libstand/ext2fs.c 2017-12-22 20:32:34 UTC (rev 9726)
@@ -536,6 +536,7 @@
* Found terminal component.
*/
error = 0;
+ fp->f_seekp = 0;
out:
if (buf)
free(buf);
@@ -584,6 +585,7 @@
for (level = 0; level < NIADDR; level++)
fp->f_blkno[level] = -1;
fp->f_buf_blkno = -1;
+ fp->f_seekp = 0;
out:
free(buf);
More information about the Midnightbsd-cvs
mailing list