mirror of
https://github.com/reactos/reactos.git
synced 2025-04-09 07:14:14 +00:00
[SCSIPORT] Append the missing "SCSI <device type> Device" string to the device description
This commit is contained in:
parent
b71df06211
commit
f095ff418b
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue