diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-06-22 14:00:04 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-06-28 11:43:03 +0200 |
commit | f8bc7d94761f6153be606328183fac6766202914 (patch) | |
tree | ad349b9c2f0f530b9d3f4734a7cf74a52db8bb31 /tests/fs-tests/simple | |
parent | a7c8cb36d1fb972082ef4f0039300d051ade2de9 (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.c | 2 |
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]; |