summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_sk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_sk.c')
-rw-r--r--sys/pci/if_sk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c
index 963f754..b1f0bfd 100644
--- a/sys/pci/if_sk.c
+++ b/sys/pci/if_sk.c
@@ -1277,7 +1277,7 @@ static int sk_attach(dev)
goto fail;
}
- mtx_init(&sc->sk_mtx, "skc", MTX_DEF);
+ mtx_init(&sc->sk_mtx, device_get_nameunit(dev), MTX_DEF);
SK_LOCK(sc);
/* Reset the adapter. */
sk_reset(sc);
OpenPOWER on IntegriCloud