diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 2000-10-13 18:35:49 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 2000-10-13 18:35:49 +0000 |
| commit | 1e856a7b34a5e77102e75c02d9ece7099965821b (patch) | |
| tree | 046a96700b4fb4dab6007dad20bbfeabf74a7e99 /sys/dev/ti | |
| parent | 36fa62c01b42c3c645a3721afd4ccf2102ac758e (diff) | |
Notes
Diffstat (limited to 'sys/dev/ti')
| -rw-r--r-- | sys/dev/ti/if_ti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 04ec29d99f65..1afd6ed6d699 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -1537,7 +1537,7 @@ static int ti_attach(dev) goto fail; } - mtx_init(&sc->ti_mtx, "ti", MTX_DEF); + mtx_init(&sc->ti_mtx, device_get_nameunit(dev), MTX_DEF); TI_LOCK(sc); sc->ti_unit = unit; |
