ntdll: Converted bitmask into TRUE/FALSE.

This commit is contained in:
Marcus Meissner 2006-11-18 11:09:36 +01:00 committed by Alexandre Julliard
parent 87f9dcdb23
commit c28a97e116
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ static NTSTATUS TAPE_GetMediaParams( int fd, TAPE_GET_MEDIA_PARAMETERS *data )
#endif #endif
data->PartitionCount = 1; data->PartitionCount = 1;
#ifdef HAVE_STRUCT_MTGET_MT_GSTAT #ifdef HAVE_STRUCT_MTGET_MT_GSTAT
data->WriteProtected = GMT_WR_PROT(get.mt_gstat); data->WriteProtected = (GMT_WR_PROT(get.mt_gstat) != 0);
#else #else
data->WriteProtected = 0; data->WriteProtected = 0;
#endif #endif