rem: char type[B_OS_NAME_LENGTH];
add: char type[B_FILE_NAME_LENGTH];
context: _kern_get_next_supported_partition_type(partition_id partitionID,										int32 changeCounter, int32 *_cookie,										char *_type){	if (!_cookie || !_type)		return B_BAD_VALUE;	int32 cookie;	user_memcpy(&cookie, _cookie, sizeof(cookie));	KDiskDeviceManager *manager = KDiskDeviceManager::Default();	// get the partition	KPartition *partition = manager->ReadLockPartition(partitionID);	status_t error = partition ? B_OK : B_ENTRY_NOT_FOUND;	if (!error) {		PartitionRegistrar registrar1(partition, true);		PartitionRegistrar registrar2(partition->Device(), true);		DeviceReadLocker locker(partition->Device(), true);		error = check_shadow_partition(partition, changeCounter) ? B_OK : B_BAD_VALUE;		if (!error) {			// get the disk system			KDiskSystem *diskSystem = partition->DiskSystem();			error = diskSystem ? B_OK : B_ENTRY_NOT_FOUND;			if (!error) {				// get the info				char type[B_OS_NAME_LENGTH];				error = diskSystem->GetNextSupportedType(partition, &cookie, type);				if (!error) {					error = ddm_strlcpy(_type, type, B_OS_NAME_LENGTH);				}			}		}	}	if (!error)		user_memcpy(_cookie, &cookie, sizeof(cookie));	return error;}