From f8bc7d94761f6153be606328183fac6766202914 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 22 Jun 2017 14:00:04 +0200 Subject: Add const modifier to read only strings and string constants Signed-off-by: David Oberhollenzer --- tests/fs-tests/stress/atoms/stress_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/fs-tests/stress') 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"; -- cgit v1.2.3