summaryrefslogtreecommitdiff
path: root/tests/fs-tests/simple
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-06-22 14:00:04 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-06-28 11:43:03 +0200
commitf8bc7d94761f6153be606328183fac6766202914 (patch)
treead349b9c2f0f530b9d3f4734a7cf74a52db8bb31 /tests/fs-tests/simple
parenta7c8cb36d1fb972082ef4f0039300d051ade2de9 (diff)
Add const modifier to read only strings and string constants
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
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];