diff options
Diffstat (limited to 'lib/libstand/ext2fs.c')
-rw-r--r-- | lib/libstand/ext2fs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libstand/ext2fs.c b/lib/libstand/ext2fs.c index c233bde..153f163 100644 --- a/lib/libstand/ext2fs.c +++ b/lib/libstand/ext2fs.c @@ -858,6 +858,7 @@ ext2fs_seek(struct open_file *f, off_t offset, int where) fp->f_seekp = fp->f_di.di_size - offset; break; default: + errno = EINVAL; return (-1); } return (fp->f_seekp); |