diff options
Diffstat (limited to 'sys/dev/firewire/sbp.c')
-rw-r--r-- | sys/dev/firewire/sbp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c index 5f4ebb747057..be1e60e45e75 100644 --- a/sys/dev/firewire/sbp.c +++ b/sys/dev/firewire/sbp.c @@ -303,8 +303,8 @@ SBP_DEBUG(0) printf("sbp_identify\n"); END_DEBUG - if (device_find_child(parent, "sbp", -1) == NULL) - BUS_ADD_CHILD(parent, 0, "sbp", -1); + if (device_find_child(parent, "sbp", DEVICE_UNIT_ANY) == NULL) + BUS_ADD_CHILD(parent, 0, "sbp", DEVICE_UNIT_ANY); } /* |