summaryrefslogtreecommitdiff
path: root/io/tst-fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/tst-fcntl.c')
-rw-r--r--io/tst-fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/tst-fcntl.c b/io/tst-fcntl.c
index 93ea9b0b02..fed884913c 100644
--- a/io/tst-fcntl.c
+++ b/io/tst-fcntl.c
@@ -42,7 +42,7 @@ static char *name;
void
do_prepare (int argc, char *argv[])
{
- size_t name_len;
+ char name_len;
name_len = strlen (test_dir);
name = malloc (name_len + sizeof ("/fcntlXXXXXX"));