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:
parent
b5314c2a6a
commit
e6cafdad36
@ -1,5 +1,6 @@
|
|||||||
Version 1.02.125 -
|
Version 1.02.125 -
|
||||||
==================================
|
==================================
|
||||||
|
Show library version in message even if dm driver version is unavailable.
|
||||||
|
|
||||||
Version 1.02.124 - 30th April 2016
|
Version 1.02.124 - 30th April 2016
|
||||||
==================================
|
==================================
|
||||||
|
@ -570,9 +570,9 @@ int dm_check_version(void)
|
|||||||
|
|
||||||
compat = "(compat)";
|
compat = "(compat)";
|
||||||
|
|
||||||
|
bad:
|
||||||
dm_get_library_version(libversion, sizeof(libversion));
|
dm_get_library_version(libversion, sizeof(libversion));
|
||||||
|
|
||||||
bad:
|
|
||||||
log_error("Incompatible libdevmapper %s%s and kernel driver %s.",
|
log_error("Incompatible libdevmapper %s%s and kernel driver %s.",
|
||||||
*libversion ? libversion : "(unknown version)", compat,
|
*libversion ? libversion : "(unknown version)", compat,
|
||||||
*dmversion ? dmversion : "(unknown version)");
|
*dmversion ? dmversion : "(unknown version)");
|
||||||
|
Loading…
Reference in New Issue
Block a user