aboutsummaryrefslogtreecommitdiff
path: root/sbin/devmatch
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/devmatch')
-rw-r--r--sbin/devmatch/devmatch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/devmatch/devmatch.c b/sbin/devmatch/devmatch.c
index a53cd5d81f827..9173270520a6c 100644
--- a/sbin/devmatch/devmatch.c
+++ b/sbin/devmatch/devmatch.c
@@ -422,6 +422,8 @@ find_unmatched(struct devinfo_dev *dev, void *arg)
break;
if (!(dev->dd_flags & DF_ENABLED))
break;
+ if (dev->dd_flags & DF_ATTACHED_ONCE)
+ break;
parent = devinfo_handle_to_device(dev->dd_parent);
bus = strdup(parent->dd_name);
p = bus + strlen(bus) - 1;