fix_return
This commit is contained in:
parent
afa17ed343
commit
d086039608
|
@ -399,7 +399,7 @@ off_t lseek(int fd, off_t offset, int whence)
|
||||||
result = dfs_file_lseek(file, offset, whence);
|
result = dfs_file_lseek(file, offset, whence);
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
{
|
{
|
||||||
rt_set_errno(result);
|
rt_set_errno(-EPERM);
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue