mirror of
https://github.com/reactos/reactos.git
synced 2024-12-03 00:13:32 +08:00
[SCSIPORT] Append the missing "SCSI <device type> Device" string to the device description
This commit is contained in:
parent
b71df06211
commit
f095ff418b
@ -173,7 +173,7 @@ PdoHandleQueryDeviceText(
|
||||
PIO_STACK_LOCATION IoStack;
|
||||
UINT32 Offset = 0;
|
||||
PINQUIRYDATA InquiryData;
|
||||
CHAR LocalBuffer[40];
|
||||
CHAR LocalBuffer[64];
|
||||
ANSI_STRING AnsiString;
|
||||
UNICODE_STRING DeviceDescription;
|
||||
|
||||
@ -200,6 +200,9 @@ PdoHandleQueryDeviceText(
|
||||
sizeof(InquiryData->ProductId),
|
||||
' ',
|
||||
TRUE);
|
||||
Offset += sprintf(&LocalBuffer[Offset],
|
||||
" SCSI %s Device",
|
||||
GetDeviceType(InquiryData));
|
||||
LocalBuffer[Offset++] = '\0';
|
||||
|
||||
RtlInitAnsiString(&AnsiString, (PCSZ)&LocalBuffer);
|
||||
|
Loading…
Reference in New Issue
Block a user