From 9a9db862a4372f56bd77724ce3323d1a45146ba1 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 3 May 2024 17:36:18 +0200 Subject: [PATCH] const: dmfilemapd strings --- libdm/dm-tools/dmfilemapd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libdm/dm-tools/dmfilemapd.c b/libdm/dm-tools/dmfilemapd.c index 6bf88067a..7507c2ca3 100644 --- a/libdm/dm-tools/dmfilemapd.c +++ b/libdm/dm-tools/dmfilemapd.c @@ -59,8 +59,8 @@ struct filemap_monitor { static int _foreground; static int _verbose; -const char *const _usage = "dmfilemapd " - "[[]]"; +const char _usage[] = "dmfilemapd " + "[[]]"; /* * Daemon logging. By default, all messages are thrown away: messages @@ -802,7 +802,7 @@ bad: return 1; } -static const char * const _mode_names[] = { +static const char _mode_names[][8] = { "inode", "path" };