about summary refs log tree commit diff
path: root/posix/tst-truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-truncate.c')
-rw-r--r--posix/tst-truncate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/tst-truncate.c b/posix/tst-truncate.c
index 78a5139477..d786306409 100644
--- a/posix/tst-truncate.c
+++ b/posix/tst-truncate.c
@@ -54,7 +54,7 @@ int fd;
 void
 do_prepare (int argc, char *argv[])
 {
-   size_t name_len;
+   char name_len;
 
 #define FNAME FNAME2(TRUNCATE)
 #define FNAME2(s) "/" STRINGIFY(s) "XXXXXX"