Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Sep 7, 2023
1 parent 0585cd3 commit 9c2b5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/piscsi/piscsi_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 9c2b5b3

Please sign in to comment.