about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/tst-put-error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tst-put-error.c b/stdio-common/tst-put-error.c
index a93008c8c5..115dbd509a 100644
--- a/stdio-common/tst-put-error.c
+++ b/stdio-common/tst-put-error.c
@@ -17,7 +17,7 @@ do_test (void)
     error (EXIT_FAILURE, errno, "fdopen");
   setlinebuf (fp);
   close (fd);
-  unlink ("aaa");
+  unlink (tmpl);
   int n = fprintf (fp, "hello world\n");
   printf ("fprintf = %d\n", n);
   if (n >= 0)