Syscalls: minor fixes