Whamcloud - gitweb
LU-6142 lustre: mark strings in char arrays as const
[fs/lustre-release.git] / lustre / utils / debug.c
index 5681870..2f70540 100644 (file)
@@ -69,8 +69,8 @@ static int debug_mask = ~0;
 
 #define MAX_MARK_SIZE 256
 
-static const char *libcfs_debug_subsystems[] = LIBCFS_DEBUG_SUBSYS_NAMES;
-static const char *libcfs_debug_masks[] = LIBCFS_DEBUG_MASKS_NAMES;
+static const char *const libcfs_debug_subsystems[] = LIBCFS_DEBUG_SUBSYS_NAMES;
+static const char *const libcfs_debug_masks[] = LIBCFS_DEBUG_MASKS_NAMES;
 
 #define DAEMON_CTL_NAME                "daemon_file"
 #define SUBSYS_DEBUG_CTL_NAME  "subsystem_debug"