summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_diskqueue.c
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1999-01-14 22:49:05 +0000
committerthorpej <thorpej@NetBSD.org>1999-01-14 22:49:05 +0000
commitd8f3aefec7970eb4bbd5c62f5dddd576270854aa (patch)
treefbade9ca357acb61b91510ce44cff0620209f8dd /sys/dev/raidframe/rf_diskqueue.c
parent6348b7d5b5fa83160013acd8f58e930f83c53f03 (diff)
Use M_RAIDFRAME.
Diffstat (limited to 'sys/dev/raidframe/rf_diskqueue.c')
-rw-r--r--sys/dev/raidframe/rf_diskqueue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_diskqueue.c b/sys/dev/raidframe/rf_diskqueue.c
index 3a1e74cb8cb..1788708c796 100644
--- a/sys/dev/raidframe/rf_diskqueue.c
+++ b/sys/dev/raidframe/rf_diskqueue.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_diskqueue.c,v 1.3 1999/01/14 20:29:38 oster Exp $ */
+/* $NetBSD: rf_diskqueue.c,v 1.4 1999/01/14 22:49:05 thorpej Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -350,7 +350,7 @@ static int init_dqd(dqd)
#ifdef KERNEL
#ifdef __NetBSD__
/* XXX not sure if the following malloc is appropriate... probably not quite... */
- dqd->bp = (struct buf *) malloc( sizeof(struct buf), M_DEVBUF, M_NOWAIT);
+ dqd->bp = (struct buf *) malloc( sizeof(struct buf), M_RAIDFRAME, M_NOWAIT);
/* XXX */
/* printf("NEED TO IMPLEMENT THIS BETTER!\n"); */
#else
@@ -373,7 +373,7 @@ static void clean_dqd(dqd)
#ifdef __NetBSD__
/* printf("NEED TO IMPLEMENT THIS BETTER(2)!\n"); */
/* XXX ? */
- free( dqd->bp, M_DEVBUF );
+ free( dqd->bp, M_RAIDFRAME );
#else
ubc_buffree(dqd->bp);
#endif