summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_filedesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_filedesc.c b/sys/kern/kern_filedesc.c
index 203eefc..6bce6d2 100644
--- a/sys/kern/kern_filedesc.c
+++ b/sys/kern/kern_filedesc.c
@@ -391,7 +391,7 @@ lseek(int fd, off_t offset, int whence)
fd_desc->offset += offset;
break;
case SEEK_END:
- /* TODO */
+ fd_desc->offset = vattr.size;
break;
default:
return -EINVAL;