[PATCH 2/3] ntdll: Change master/slave to more neutral words

André Hentschel nerv at dawncrow.de
Thu Jun 18 06:34:28 CDT 2020


see also: https://en.wikipedia.org/wiki/Parallel_ATA#Master_and_slave_clarification

Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
 dlls/ntdll/unix/cdrom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/unix/cdrom.c b/dlls/ntdll/unix/cdrom.c
index a0e66a92a23..7dcbd10871b 100644
--- a/dlls/ntdll/unix/cdrom.c
+++ b/dlls/ntdll/unix/cdrom.c
@@ -2029,7 +2029,7 @@ static NTSTATUS CDROM_GetAddress(int fd, SCSI_ADDRESS* address)
 
     address->PortNumber = portnum; /* primary=0 secondary=1 for ide */
     address->PathId = busid;       /* always 0 for ide */
-    address->TargetId = targetid;  /* master=0 slave=1 for ide */
+    address->TargetId = targetid;  /* "Device 0"=0 "Device 1"=1 for ide */
     address->Lun = lun;
     return STATUS_SUCCESS;
 }
-- 
2.17.1




More information about the wine-devel mailing list