aboutsummaryrefslogtreecommitdiff
path: root/posix/tst-spawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-spawn.c')
-rw-r--r--posix/tst-spawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/tst-spawn.c b/posix/tst-spawn.c
index 4b5d894..745f64d 100644
--- a/posix/tst-spawn.c
+++ b/posix/tst-spawn.c
@@ -61,7 +61,7 @@ static const char fd3string[] = "This file will be opened";
void
do_prepare (int argc, char *argv[])
{
- size_t name_len;
+ char name_len;
name_len = strlen (test_dir);
name1 = (char *) malloc (name_len + sizeof ("/spawnXXXXXX"));