From: Nicholas Nethercote Date: Mon, 23 Aug 2004 16:39:42 +0000 (+0000) Subject: Here's a couple more I missed in the last commit. X-Git-Tag: svn/VALGRIND_2_2_0~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ae90953a0abf14c9a049076cfb42f92f5adf752;p=thirdparty%2Fvalgrind.git Here's a couple more I missed in the last commit. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2604 --- diff --git a/coregrind/vg_syscalls.c b/coregrind/vg_syscalls.c index b99ad5665f..0d87da856e 100644 --- a/coregrind/vg_syscalls.c +++ b/coregrind/vg_syscalls.c @@ -6148,8 +6148,7 @@ Bool VG_(pre_syscall) ( ThreadId tid ) VG_(sys_issue)(tid); } else { /* run the syscall directly */ - tst->m_eax = VG_(do_syscall)(syscallno, - arg1, arg2, arg3, arg4, arg5, arg6); + res = VG_(do_syscall)(syscallno, arg1, arg2, arg3, arg4, arg5, arg6); syscall_done = True; } } @@ -6238,7 +6237,7 @@ void VG_(post_syscall) ( ThreadId tid, Bool restart ) restarted = True; restart_syscall(tid); } else - tst->m_eax = -VKI_EINTR; + res = -VKI_EINTR; } if (!restarted) {