c7901a4b4e
- Adapt and regenerate patches - Reduce differences in patch-src_VBox_Devices_PC_vbox-cpuhotplug.dsl [1] Patch based on one provided by Mario Lobo <lobo@bsd.com.br>. Many thanks to people who provided ideas and suggetions in the PR and review. PR: 244212 Submitted by: Nikita Stepanov <nikitastepan0v@bk.ru> Reviewed by: kevans [1] Tested by: lwshu Approved by: ports-secteam (joneum) MFH: 2020Q3 Security: 1e7b316b-c6a8-11ea-a7d5-001999f8d30b Differential Revision: https://reviews.freebsd.org/D25496
15 lines
1.4 KiB
C++
15 lines
1.4 KiB
C++
--- src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp.orig 2020-05-13 19:44:10 UTC
|
|
+++ src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp
|
|
@@ -253,8 +253,9 @@ static int getDVDInfoFromCAM(DriveInfoList *pList, boo
|
|
PeriphMatchPattern.pattern.periph_pattern.path_id = paMatches[i].result.device_result.path_id;
|
|
PeriphMatchPattern.pattern.periph_pattern.target_id = paMatches[i].result.device_result.target_id;
|
|
PeriphMatchPattern.pattern.periph_pattern.target_lun = paMatches[i].result.device_result.target_lun;
|
|
- PeriphMatchPattern.pattern.periph_pattern.flags = PERIPH_MATCH_PATH | PERIPH_MATCH_TARGET |
|
|
- PERIPH_MATCH_LUN;
|
|
+ PeriphMatchPattern.pattern.periph_pattern.flags = static_cast<periph_pattern_flags>
|
|
+ (PERIPH_MATCH_PATH | PERIPH_MATCH_TARGET |
|
|
+ PERIPH_MATCH_LUN);
|
|
PeriphCCB.cdm.num_patterns = 1;
|
|
PeriphCCB.cdm.pattern_buf_len = sizeof(struct dev_match_result);
|
|
PeriphCCB.cdm.patterns = &PeriphMatchPattern;
|