summaryrefslogtreecommitdiff
path: root/tests/fs-tests/utils/free_space.c
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/utils/free_space.c
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/utils/free_space.c')
-rw-r--r--tests/fs-tests/utils/free_space.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fs-tests/utils/free_space.c b/tests/fs-tests/utils/free_space.c
index 88036aa..3421e7d 100644
--- a/tests/fs-tests/utils/free_space.c
+++ b/tests/fs-tests/utils/free_space.c
@@ -25,7 +25,7 @@
int main(int argc, char *argv[])
{
- char *dir_name = ".";
+ const char *dir_name = ".";
uint64_t free_space;
struct statvfs fs_info;