From 0b659890f5be3c369ef104d66f9873e802f9fe9b Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Wed, 11 Oct 2023 14:54:59 +0200 Subject: [PATCH] - avoid deprecated function --- barrel/handle.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/barrel/handle.cc b/barrel/handle.cc index 26974b4..f1e4ac4 100644 --- a/barrel/handle.cc +++ b/barrel/handle.cc @@ -602,9 +602,9 @@ namespace barrel cout << "barrel " VERSION << '\n'; cout << "libstorage-ng " << LIBSTORAGE_NG_VERSION_STRING; -#if LIBSTORAGE_NG_VERSION_AT_LEAST(1, 90) - if (strcmp(LIBSTORAGE_NG_VERSION_STRING, get_version_string()) != 0) - cout << " (" << get_version_string() << ")"; +#if LIBSTORAGE_NG_VERSION_AT_LEAST(1, 92) + if (strcmp(LIBSTORAGE_NG_VERSION_STRING, get_libversion_string()) != 0) + cout << " (" << get_libversion_string() << ")"; #endif cout << '\n';