about summary refs log tree commit diff
path: root/stdio-common/test_rdwr.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/test_rdwr.c')
-rw-r--r--stdio-common/test_rdwr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/test_rdwr.c b/stdio-common/test_rdwr.c
index f471570cba..348987351f 100644
--- a/stdio-common/test_rdwr.c
+++ b/stdio-common/test_rdwr.c
@@ -38,7 +38,7 @@ main (int argc, char **argv)
   else
     name = *argv;
 
-  (void) sprintf (filename, "/tmp/%s.test", name);
+  (void) sprintf (filename, OBJPFX "%s.test", name);
 
   f = fopen (filename, "w+");
   if (f == NULL)