testcases: Constify char *msg variable.
The parse_opts() now returns const char * instead of char * this commit
fixes all warnings caused by the change.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
diff --git a/testcases/kernel/syscalls/truncate/truncate03.c b/testcases/kernel/syscalls/truncate/truncate03.c
index e2b5fbc..a0c98d0 100644
--- a/testcases/kernel/syscalls/truncate/truncate03.c
+++ b/testcases/kernel/syscalls/truncate/truncate03.c
@@ -143,7 +143,7 @@
int main(int ac, char **av)
{
int lc;
- char *msg;
+ const char *msg;
char *file_name; /* testfile name */
char *test_desc; /* test specific error message */
int ind;