aboutsummaryrefslogtreecommitdiff
path: root/tests/fs-tests/stress/atoms
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/stress/atoms
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/stress/atoms')
-rw-r--r--tests/fs-tests/stress/atoms/stress_2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fs-tests/stress/atoms/stress_2.c b/tests/fs-tests/stress/atoms/stress_2.c
index 5dea1b7..bd53ad3 100644
--- a/tests/fs-tests/stress/atoms/stress_2.c
+++ b/tests/fs-tests/stress/atoms/stress_2.c
@@ -40,7 +40,7 @@ static void stress_2(void)
int64_t remains;
int64_t repeat;
size_t block;
- char *file_name;
+ const char *file_name;
char buf[WRITE_BUFFER_SIZE];
file_name = "stress_2_test_file";