ntdll: Converted bitmask into TRUE/FALSE.
This commit is contained in:
parent
87f9dcdb23
commit
c28a97e116
dlls/ntdll
|
@ -232,7 +232,7 @@ static NTSTATUS TAPE_GetMediaParams( int fd, TAPE_GET_MEDIA_PARAMETERS *data )
|
|||
#endif
|
||||
data->PartitionCount = 1;
|
||||
#ifdef HAVE_STRUCT_MTGET_MT_GSTAT
|
||||
data->WriteProtected = GMT_WR_PROT(get.mt_gstat);
|
||||
data->WriteProtected = (GMT_WR_PROT(get.mt_gstat) != 0);
|
||||
#else
|
||||
data->WriteProtected = 0;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue