aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>2004-11-10 06:21:47 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>2004-11-10 06:21:47 +0000
commit0fd466727cd5ff0ce4f94e7e84fccdaf403c4a88 (patch)
tree628f923fa8213d27cfa07b5ca61e3b29b7c84f5c /sys
parent37ee573ec61b02807b0032a295a1d519ee35f49d (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/firewire/fwmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwmem.c b/sys/dev/firewire/fwmem.c
index a2e81e3c448f..1674405f44f8 100644
--- a/sys/dev/firewire/fwmem.c
+++ b/sys/dev/firewire/fwmem.c
@@ -309,7 +309,7 @@ fwmem_close (struct cdev *dev, int flags, int fmt, fw_proc *td)
if (fwmem_debug)
printf("%s: refcount=%d\n", __func__, fms->refcount);
if (fms->refcount < 1) {
- free(dev->si_drv1, M_FW);
+ free(dev->si_drv1, M_FWMEM);
dev->si_drv1 = NULL;
}