Fix some compiler warnings.

This commit is contained in:
Milan Broz
2018-07-19 12:49:59 +02:00
parent 081aa18f39
commit 1112da76f1
3 changed files with 5 additions and 2 deletions

View File

@@ -139,8 +139,9 @@ int blk_superblocks_filter_luks(struct blkid_handle *h)
{
int r = -ENOTSUP;
#ifdef HAVE_BLKID
char luks[] = "crypto_LUKS";
char *luks_filter[] = {
"crypto_LUKS",
luks,
NULL
};
r = blkid_probe_filter_superblocks_type(h->pr, BLKID_FLTR_NOTIN, luks_filter);