diff options
Diffstat (limited to 'sys/dev/bio.c')
-rw-r--r-- | sys/dev/bio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bio.c b/sys/dev/bio.c index fb7d6cbf87a..ad28ba5fe10 100644 --- a/sys/dev/bio.c +++ b/sys/dev/bio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bio.c,v 1.9 2007/03/20 02:35:55 marco Exp $ */ +/* $OpenBSD: bio.c,v 1.10 2007/10/09 17:05:19 gilles Exp $ */ /* * Copyright (c) 2002 Niklas Hallqvist. All rights reserved. @@ -103,7 +103,7 @@ bio_register(struct device *dev, int (*ioctl)(struct device *, u_long, caddr_t)) { struct bio_mapping *bm; - MALLOC(bm, struct bio_mapping *, sizeof *bm, M_DEVBUF, M_NOWAIT); + bm = malloc(sizeof *bm, M_DEVBUF, M_NOWAIT); if (bm == NULL) return (ENOMEM); bm->bm_dev = dev; |