diff options
-rw-r--r-- | src/sim/syscall_emul.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh index a4f9b238e..0c06a5147 100644 --- a/src/sim/syscall_emul.hh +++ b/src/sim/syscall_emul.hh @@ -1138,7 +1138,7 @@ writevFunc(SyscallDesc *desc, int callnum, LiveProcess *process, if (result < 0) return -errno; - return 0; + return result; } |