diff options
| author | Nick Hibma <n_hibma@FreeBSD.org> | 2008-11-03 22:05:44 +0000 |
|---|---|---|
| committer | Nick Hibma <n_hibma@FreeBSD.org> | 2008-11-03 22:05:44 +0000 |
| commit | bcde061b22a7f2e3ce4a091a2d8d124d86d88e1c (patch) | |
| tree | 208951c8be83eb33a159b2c03c36c9825b209cc4 /sys/dev | |
| parent | b74d3e0c371a55cbd7aba7dc2c9f0001783aa231 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/usb_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c index 575b111ff101..4d0b73bd06c6 100644 --- a/sys/dev/usb/usb_subr.c +++ b/sys/dev/usb/usb_subr.c @@ -930,7 +930,7 @@ usbd_probe_and_attach(device_t parent, usbd_device_handle dev, usbd_devinfo(dev, 1, devinfo); device_set_desc_copy(bdev, devinfo); if (device_probe_and_attach(bdev) == 0) { - ifaces[i] = 0; /* consumed */ + ifaces[i] = NULL; /* consumed */ found++; /* create another child for the next iface */ bdev = device_add_child(parent, NULL, -1); |
