libblkid: use 'VERSION' rather than 'PERSISTENCE_VERSION'

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2015-08-31 13:23:55 +02:00
parent 7430affdd9
commit 7caa6b37be
1 changed files with 1 additions and 2 deletions

View File

@ -66,8 +66,7 @@ static int probe_drbdmanage(blkid_probe pr,
return errno ? -errno : 1;
if (memcmp(prs->magic, persistence_magic, sizeof(prs->magic)) == 0 &&
blkid_probe_sprintf_value(pr, "PERSISTENCE_VERSION",
"%d", be32_to_cpu(prs->version_le)) != 0)
blkid_probe_sprintf_version(pr, "%d", be32_to_cpu(prs->version_le)) != 0)
return errno ? -errno : 1;
return 0;