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" };