1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-03 17:50:03 +03:00

const: dmfilemapd strings

This commit is contained in:
Zdenek Kabelac 2024-05-03 17:36:18 +02:00
parent 7f25e58f66
commit 9a9db862a4

View File

@ -59,8 +59,8 @@ struct filemap_monitor {
static int _foreground;
static int _verbose;
const char *const _usage = "dmfilemapd <fd> <group_id> <abs_path> <mode> "
"[<foreground>[<log_level>]]";
const char _usage[] = "dmfilemapd <fd> <group_id> <abs_path> <mode> "
"[<foreground>[<log_level>]]";
/*
* 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"
};