&ScsiDevicePath\r
);\r
} else {\r
- Status = ScsiIoDevice->ScsiPassThru->BuildDevicePath (\r
- ScsiBusDev->ScsiInterface,\r
- TargetId->ScsiId.Scsi,\r
- Lun,\r
- &ScsiDevicePath\r
- );\r
+ Status = ScsiBusDev->ScsiInterface->BuildDevicePath (\r
+ ScsiBusDev->ScsiInterface,\r
+ TargetId->ScsiId.Scsi,\r
+ Lun,\r
+ &ScsiDevicePath\r
+ );\r
}\r
\r
if (EFI_ERROR(Status)) {\r