From 9c2b5b3c623363b1b7aeaec978f71687762263de Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Thu, 7 Sep 2023 09:59:46 +0200 Subject: [PATCH] Cleanup --- cpp/piscsi/piscsi_executor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/piscsi/piscsi_executor.cpp b/cpp/piscsi/piscsi_executor.cpp index e88b13b627..b1036a7886 100644 --- a/cpp/piscsi/piscsi_executor.cpp +++ b/cpp/piscsi/piscsi_executor.cpp @@ -348,7 +348,7 @@ bool PiscsiExecutor::Attach(const CommandContext& context, const PbDeviceDefinit } if (!device->Init(params)) { - return context.ReturnLocalizedError(LocalizationKey::ERROR_INITIALIZATION, PbDeviceType_Name(device->GetType()), + return context.ReturnLocalizedError(LocalizationKey::ERROR_INITIALIZATION, device->GetTypeString(), to_string(id), to_string(lun)); }