1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

trivial optimization: use nameunit here.

This commit is contained in:
Warner Losh 2003-08-14 07:15:19 +00:00
parent 0c220814d1
commit fbe1513849
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118899

View File

@ -789,7 +789,7 @@ cbb_attach(device_t brdev)
/* Start the thread */
if (kthread_create(cbb_event_thread, sc, &sc->event_thread, 0, 0,
"%s%d", device_get_name(brdev), device_get_unit(brdev))) {
"%s", device_get_nameunit(brdev))) {
device_printf(brdev, "unable to create event thread.\n");
panic("cbb_create_event_thread");
}