Skip to content

Commit

Permalink
- avoid deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Oct 11, 2023
1 parent 20b29b2 commit 0b65989
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions barrel/handle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 0b65989

Please sign in to comment.