diff options
Diffstat (limited to 'sys/dev/sf/if_sf.c')
-rw-r--r-- | sys/dev/sf/if_sf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c index a7d14522..eac7980 100644 --- a/sys/dev/sf/if_sf.c +++ b/sys/dev/sf/if_sf.c @@ -766,7 +766,7 @@ static int sf_attach(dev) } callout_handle_init(&sc->sf_stat_ch); - mtx_init(&sc->sf_mtx, "sf", MTX_DEF); + mtx_init(&sc->sf_mtx, device_get_nameunit(dev), MTX_DEF); SF_LOCK(sc); /* Reset the adapter. */ sf_reset(sc); |