about summary refs log tree commit diff
path: root/linuxthreads/tst-cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/tst-cancel.c')
-rw-r--r--linuxthreads/tst-cancel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/tst-cancel.c b/linuxthreads/tst-cancel.c
index 75d6c0de66..f2f97d2dbf 100644
--- a/linuxthreads/tst-cancel.c
+++ b/linuxthreads/tst-cancel.c
@@ -20,6 +20,7 @@ cleanup (void *arg)
   char *cp = stpcpy (s, "cleanup ");
   *cp++ = '0' + nr;
   *cp++ = '\n';
+  __libc_lseek (fd, 0, SEEK_END);
   __libc_write (fd, s, cp - s);
 }