PR: ports/169593 Submitted by: Jeremy Chadwick <jdc@koitsu.org> Approved by: Alex Samorukov <samm@os2.kiev.ua> (maintainer)
15 lines
697 B
Text
15 lines
697 B
Text
--- os_freebsd.cpp 2012-06-19 13:37:05.000000000 -0700
|
|
+++ os_freebsd.cpp 2012-07-02 01:51:10.998181000 -0700
|
|
@@ -1795,8 +1795,10 @@
|
|
* We are searching for latest name
|
|
*/
|
|
periph_result = &ccb.cdm.matches[i].result.periph_result;
|
|
- devname = strprintf("%s%s%d", _PATH_DEV, periph_result->periph_name, periph_result->unit_number);
|
|
- changed = 0;
|
|
+ if (strcmp(periph_result->periph_name, "pass")) {
|
|
+ devname = strprintf("%s%s%d", _PATH_DEV, periph_result->periph_name, periph_result->unit_number);
|
|
+ changed = 0;
|
|
+ }
|
|
};
|
|
if ((changed == 1 || show_all) && !devname.empty()) {
|
|
names.push_back(devname);
|