summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/sbp.c
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-02-01 15:04:33 +0000
committersimokawa <simokawa@FreeBSD.org>2003-02-01 15:04:33 +0000
commit1071276d73a46218289f668a110e136c0cc96301 (patch)
tree0d5b2f262240d24b6ece98e694cb1abb3cd06baa /sys/dev/firewire/sbp.c
parent375273946c2b76fc637721f147763ec5cb3c61d0 (diff)
downloadFreeBSD-src-1071276d73a46218289f668a110e136c0cc96301.zip
FreeBSD-src-1071276d73a46218289f668a110e136c0cc96301.tar.gz
Define new malloc type M_FW and use it.
Diffstat (limited to 'sys/dev/firewire/sbp.c')
-rw-r--r--sys/dev/firewire/sbp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index 81d5711..e37727b 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -1053,9 +1053,9 @@ sbp_write_cmd(struct sbp_dev *sdev, int tcode, int offset)
else
xfer->send.len = 24;
- xfer->send.buf = malloc(xfer->send.len, M_DEVBUF, M_NOWAIT);
+ xfer->send.buf = malloc(xfer->send.len, M_FW, M_NOWAIT);
if(xfer->send.buf == NULL){
- fw_xfer_free( xfer);
+ fw_xfer_free(xfer);
return NULL;
}
OpenPOWER on IntegriCloud