diff options
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r-- | sys/pci/if_xl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 7e1f64b..94ba480 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -1348,7 +1348,7 @@ static int xl_attach(dev) goto fail; } - mtx_init(&sc->xl_mtx, "xl", MTX_DEF); + mtx_init(&sc->xl_mtx, device_get_nameunit(dev), MTX_DEF); XL_LOCK(sc); /* Reset the adapter. */ |