summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/test-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-run.sh b/tests/test-run.sh
index e68036d..b883b82 100755
--- a/tests/test-run.sh
+++ b/tests/test-run.sh
@@ -200,7 +200,7 @@ if sys.argv[2] == 'wait':
locktype = fcntl.F_SETLKW
else:
locktype = fcntl.F_SETLK
-lockdata = struct.pack("hhllhh", fcntl.F_WRLCK, 0, 0, 0, 0, 0)
+lockdata = struct.pack("hhqqhh", fcntl.F_WRLCK, 0, 0, 0, 0, 0)
fd=open(sys.argv[1], 'a')
try:
fcntl.fcntl(fd.fileno(), locktype, lockdata)