From e6cafdad3608f58bc0cea6a73b16d9728fb92181 Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Thu, 12 May 2016 01:14:25 +0100 Subject: [PATCH] libdm: Show lib vsn even if driver vsn unavailable. --- WHATS_NEW_DM | 1 + libdm/ioctl/libdm-iface.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index f6392efda..a1d935e7b 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -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 ================================== diff --git a/libdm/ioctl/libdm-iface.c b/libdm/ioctl/libdm-iface.c index 0c798f524..390daa1be 100644 --- a/libdm/ioctl/libdm-iface.c +++ b/libdm/ioctl/libdm-iface.c @@ -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)"); -- 2.43.5