aboutsummaryrefslogtreecommitdiff
path: root/tests/fs-tests/simple
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fs-tests/simple')
-rw-r--r--tests/fs-tests/simple/ftrunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fs-tests/simple/ftrunc.c b/tests/fs-tests/simple/ftrunc.c
index 2df404b..52b660b 100644
--- a/tests/fs-tests/simple/ftrunc.c
+++ b/tests/fs-tests/simple/ftrunc.c
@@ -39,7 +39,7 @@ static void ftrunc(void)
ssize_t written;
int64_t remains;
size_t block;
- char *file_name;
+ const char *file_name;
off_t actual;
char buf[WRITE_BUFFER_SIZE];