diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2004-01-21 20:12:23 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2004-01-21 20:12:23 +0000 |
| commit | fb6b710c39b8bbefd730af2d2b8704bd646e0456 (patch) | |
| tree | ef59111118b96cb170e58b13a12c868718248613 /lib/libstand/ufs.c | |
| parent | 58d120f6d3f64212029d24d68f7ea3212f07974b (diff) | |
Notes
Diffstat (limited to 'lib/libstand/ufs.c')
| -rw-r--r-- | lib/libstand/ufs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libstand/ufs.c b/lib/libstand/ufs.c index 8148fe9943fc..6a3d75849532 100644 --- a/lib/libstand/ufs.c +++ b/lib/libstand/ufs.c @@ -818,6 +818,7 @@ ufs_seek(f, offset, where) fp->f_seekp = DIP(fp, di_size) - offset; break; default: + errno = EINVAL; return (-1); } return (fp->f_seekp); |
