Browse Source

[LibOS/regression] Fix syscall arguments in futex test

Dmitrii Kuvaiskii 5 years ago
parent
commit
c245f303ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      LibOS/shim/test/regression/futex.c

+ 1 - 1
LibOS/shim/test/regression/futex.c

@@ -20,7 +20,7 @@ static int myfutex = 0;
 
 static int futex(int* uaddr, int futex_op, int val, const struct timespec* timeout, int* uaddr2,
                  int val3) {
-    return syscall(SYS_futex, uaddr, futex_op, val, timeout, uaddr, val3);
+    return syscall(SYS_futex, uaddr, futex_op, val, timeout, uaddr2, val3);
 }
 
 void* thread_function(void* argument) {