Fix problem with adjtimex.

MERGE TO STABLE


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1817 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_syscalls.c b/coregrind/vg_syscalls.c
index d6c4d20..f348d07 100644
--- a/coregrind/vg_syscalls.c
+++ b/coregrind/vg_syscalls.c
@@ -958,7 +958,7 @@
       case __NR_adjtimex: /* syscall 124 */
         /* int adjtimex(struct timex *buf) */
          MAYBE_PRINTF("adjtimex ( %p )\n",arg1);
-         SYSCALL_TRACK( pre_mem_write, tst, "adjtimex(buf)",
+         SYSCALL_TRACK( pre_mem_write, tid, "adjtimex(buf)",
                         arg1, sizeof(struct timex) );
          KERNEL_DO_SYSCALL(tid,res);
          if (!VG_(is_kerror)(res))
@@ -3655,3 +3655,4 @@
 /*--------------------------------------------------------------------*/
 /*--- end                                            vg_syscalls.c ---*/
 /*--------------------------------------------------------------------*/
+