summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-09-18 16:32:39 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-09-18 16:32:39 -0500
commitb8391444124341a9b90688c6dcc260d77e42df03 (patch)
treeda1a04e8424e7a6cbd8c2a3b992b424012860fe0 /tdecore/tdehw
parente38596f9f2cc74ec218e04a7e67bfaecb91de2b1 (diff)
downloadtdelibs-b8391444124341a9b90688c6dcc260d77e42df03.tar.gz
tdelibs-b8391444124341a9b90688c6dcc260d77e42df03.zip
Fix yet another FTBFS due to libcryptsetup version problems
Diffstat (limited to 'tdecore/tdehw')
-rw-r--r--tdecore/tdehw/tdestoragedevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdestoragedevice.cpp b/tdecore/tdehw/tdestoragedevice.cpp
index 87ee036b6..d499a3cfd 100644
--- a/tdecore/tdehw/tdestoragedevice.cpp
+++ b/tdecore/tdehw/tdestoragedevice.cpp
@@ -146,7 +146,7 @@ void TDEStorageDevice::internalInitializeLUKSIfNeeded() {
ret = crypt_load(m_cryptDevice, NULL, NULL);
if (ret == 0) {
int keyslot_count;
-#if defined(CRYPTSETUP_OLD_API) || defined(HAVE_CRYPTSETUP_GET_TYPE)
+#if defined(CRYPTSETUP_OLD_API) || !defined(HAVE_CRYPTSETUP_GET_TYPE)
kdWarning() << "TDEStorageDevice: The version of libcryptsetup that TDE was compiled against was too old! Most LUKS features will not function" << endl;
m_cryptDeviceType = TQString::null;
keyslot_count = 0;