syscalls: ioctl

This commit is contained in:
Matheus
2023-07-05 20:19:36 -03:00
parent 50597114d1
commit f76046a56b
8 changed files with 51 additions and 8 deletions
-1
View File
@@ -58,7 +58,6 @@ syscallret_t syscall_seek(context_t *context, int fd, off_t offset, int whence)
}
}
printf("ret: new %lu old %lu whence %d\n", newoffset, file->offset, whence);
file->offset = newoffset;
ret.ret = newoffset;
ret.errno = 0;