rem: char type[B_OS_NAME_LENGTH]; status_t error = ddm_strlcpy(type, _type, B_OS_NAME_LENGTH);
add: char type[B_FILE_NAME_LENGTH]; status_t error = ddm_strlcpy(type, _type, B_FILE_NAME_LENGTH);
context: _kern_set_partition_type(partition_id partitionID, int32 changeCounter,						 const char *_type){	if (!_type)		return B_BAD_VALUE;	char type[B_OS_NAME_LENGTH];	status_t error = ddm_strlcpy(type, _type, B_OS_NAME_LENGTH);	if (error)		return error;	KDiskDeviceManager *manager = KDiskDeviceManager::Default();	// get the partition	KPartition *partition = manager->WriteLockPartition(partitionID);	if (!partition)		return B_ENTRY_NOT_FOUND;	PartitionRegistrar registrar1(partition, true);	PartitionRegistrar registrar2(partition->Device(), true);	DeviceWriteLocker locker(partition->Device(), true);	// check type	error = validate_set_partition_type(partition, changeCounter,									    type);	if (error != B_OK)		return error;	// set type	error = partition->SetType(type);	if (error != B_OK)		return error;	partition->Changed(B_PARTITION_CHANGED_TYPE);	// implicit partitioning system changes	return partition->Parent()->DiskSystem()->ShadowPartitionChanged(		partition, B_PARTITION_SET_TYPE);}