libblkid/src/superblocks/drbdmanage.c:38:42: warning: too long initializer-string for array of char(no space for nul char) Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- libblkid/src/superblocks/drbdmanage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libblkid/src/superblocks/drbdmanage.c b/libblkid/src/superblocks/drbdmanage.c index 48bf1dabf..b45f89bc8 100644 --- a/libblkid/src/superblocks/drbdmanage.c +++ b/libblkid/src/superblocks/drbdmanage.c @@ -35,7 +35,7 @@ struct drbdmanage_pers { } __attribute__ ((packed)); -static const char persistence_magic[4] = "\x1a\xdb\x98\xa2"; +static const char persistence_magic[4] = { '\x1a', '\xdb', '\x98', '\xa2' }; static int probe_drbdmanage(blkid_probe pr, -- 2.12.0 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html