summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2016-01-14 20:25:22 +0000
committergonzo <gonzo@FreeBSD.org>2016-01-14 20:25:22 +0000
commit7d629663f2da1b787bbdd5360fb2d6006277207e (patch)
tree0245232d50ec02fd7883c2d06781fe683b76b681 /sys/contrib
parenta925f8a783384b55b73280bc25f5b1037209ab2e (diff)
downloadFreeBSD-src-7d629663f2da1b787bbdd5360fb2d6006277207e.zip
FreeBSD-src-7d629663f2da1b787bbdd5360fb2d6006277207e.tar.gz
Fix order of last two arguments of mtx_init
Spotted by: jmcneill@NetBSD.org
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
index e0cbb66..93aa6f8 100644
--- a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
+++ b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
@@ -173,7 +173,7 @@ bcm_vchiq_attach(device_t dev)
return (ENXIO);
}
- mtx_init(&sc->lock, "vchiq", MTX_DEF, 0);
+ mtx_init(&sc->lock, "vchiq", 0, MTX_DEF);
bcm_vchiq_sc = sc;
vchiq_init();
OpenPOWER on IntegriCloud