1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

libdm: Show lib vsn even if driver vsn unavailable.

This commit is contained in:
Alasdair G Kergon 2016-05-12 01:14:25 +01:00
parent b5314c2a6a
commit e6cafdad36
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.125 -
==================================
Show library version in message even if dm driver version is unavailable.
Version 1.02.124 - 30th April 2016
==================================

View File

@ -570,9 +570,9 @@ int dm_check_version(void)
compat = "(compat)";
bad:
dm_get_library_version(libversion, sizeof(libversion));
bad:
log_error("Incompatible libdevmapper %s%s and kernel driver %s.",
*libversion ? libversion : "(unknown version)", compat,
*dmversion ? dmversion : "(unknown version)");