Whamcloud - gitweb
LU-6142 lustre: mark strings in char arrays as const
[fs/lustre-release.git] / lustre / target / out_lib.c
index cf0cb2f..56d16fa 100644 (file)
@@ -43,7 +43,7 @@
 
 const char *update_op_str(__u16 opc)
 {
-       static const char *opc_str[] = {
+       static const char *const opc_str[] = {
                [OUT_START] = "start",
                [OUT_CREATE] = "create",
                [OUT_DESTROY] = "destroy",