rem: if (user_strlcpy(filename, _filename, B_PATH_NAME_LENGTH) >= B_PATH_NAME_LENGTH) return B_NAME_TOO_LONG;
add: status_t error = ddm_strlcpy(filename, _filename, B_PATH_NAME_LENGTH); if (error) return error;
context: _kern_unregister_file_device(partition_id deviceID, const char *_filename){	if (deviceID < 0 && !_filename)		return B_BAD_VALUE;		KDiskDeviceManager *manager = KDiskDeviceManager::Default();	if (deviceID >= 0) {		return manager->DeleteFileDevice(deviceID);	} else {		char filename[B_PATH_NAME_LENGTH];		if (user_strlcpy(filename, _filename, B_PATH_NAME_LENGTH) >= B_PATH_NAME_LENGTH)			return B_NAME_TOO_LONG;		return manager->DeleteFileDevice(filename);	}}