Commit c28a97e1 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

ntdll: Converted bitmask into TRUE/FALSE.

parent 87f9dcdb
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment