summaryrefslogtreecommitdiff
path: root/libc/posix/tst-exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/posix/tst-exec.c')
-rw-r--r--libc/posix/tst-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/posix/tst-exec.c b/libc/posix/tst-exec.c
index a67d2000b..f3971e8c9 100644
--- a/libc/posix/tst-exec.c
+++ b/libc/posix/tst-exec.c
@@ -57,7 +57,7 @@ static const char fd2string[] = "This file should stay opened";
void
do_prepare (int argc, char *argv[])
{
- char name_len;
+ size_t name_len;
name_len = strlen (test_dir);
name1 = malloc (name_len + sizeof ("/execXXXXXX"));