aboutsummaryrefslogtreecommitdiff
path: root/posix/tst-chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-chmod.c')
-rw-r--r--posix/tst-chmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/tst-chmod.c b/posix/tst-chmod.c
index 7be61f0ccb..d37e4820fa 100644
--- a/posix/tst-chmod.c
+++ b/posix/tst-chmod.c
@@ -1,5 +1,5 @@
/* Test for chmod functions.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 2000.
@@ -72,7 +72,7 @@ do_test (int argc, char *argv[])
buf = (char *) alloca (buflen);
/* Create the directory name. */
- snprintf (buf, buflen, "%schmoddirXXXXXX", builddir);
+ snprintf (buf, buflen, "%s/chmoddirXXXXXX", builddir);
if (mkdtemp (buf) == NULL)
{