diff --git a/src/lib/homestore_backend/hs_homeobject.cpp b/src/lib/homestore_backend/hs_homeobject.cpp index ee0229fb..2187d4d3 100644 --- a/src/lib/homestore_backend/hs_homeobject.cpp +++ b/src/lib/homestore_backend/hs_homeobject.cpp @@ -133,7 +133,7 @@ void HSHomeObject::init_homestore() { LOGW("Device {} is not supported, skipping", dev.path.string()); continue; } - if (input_dev_type != DevType::AUTO_DETECT && input_dev_type != final_type) { + if (input_dev_type != DevType::AUTO_DETECT && detected_type != final_type) { LOGW("Device {} detected as {}, but input type is {}, using input type", dev.path.string(), detected_type, input_dev_type); }