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/gethostid/gethostid01.c b/testcases/kernel/syscalls/gethostid/gethostid01.c
index c893e4c..00fb22e 100644
--- a/testcases/kernel/syscalls/gethostid/gethostid01.c
+++ b/testcases/kernel/syscalls/gethostid/gethostid01.c
@@ -143,7 +143,7 @@
{
int lc, i, j; /* loop counters */
int bit_64 = 0; /* used when compiled 64bit on some 64bit machines */
- char *msg;
+ const char *msg;
char *result;
char name[HOSTIDLEN], name2[HOSTIDLEN], hostid[HOSTIDLEN],
hostid2[HOSTIDLEN], *hostid3, hex[2] = "0x";