]> git.ipfire.org Git - thirdparty/lxc.git/commit
cmd: Use 'const' for static string constant.
authorTobin C. Harding <me@tobin.cc>
Fri, 17 Aug 2018 06:05:14 +0000 (16:05 +1000)
committerTobin C. Harding <me@tobin.cc>
Fri, 17 Aug 2018 06:10:08 +0000 (16:10 +1000)
commit7f5700e6aaf8dc15dbf2efe2039eda17cfbe9708
tree5b35d78b30e9cc0f4f096d52d6173c56120d905e
parent32cf169fab6758812d31dcc218738a82dbfd9c76
cmd: Use 'const' for static string constant.

checkpatch emits warning:

WARNING: static char array declaration should probably be static const char

Use 'const' for static string constant (array of chars).

Signed-off-by: Tobin C. Harding <me@tobin.cc>
src/lxc/cmd/lxc_init.c