summaryrefslogtreecommitdiff
path: root/sys/dev/md.c
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2003-05-13 02:56:13 +0000
committerthorpej <thorpej@NetBSD.org>2003-05-13 02:56:13 +0000
commit50e0b3a100582e2cdc79c44aa3cf1d6b32e3bf64 (patch)
tree0f48f10e095eb1fdedb309bf83b8df809b098ef0 /sys/dev/md.c
parent35bfe45330c9609719f283b085242544acc426fd (diff)
Use aprint_error() where appropriate.
Diffstat (limited to 'sys/dev/md.c')
-rw-r--r--sys/dev/md.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/md.c b/sys/dev/md.c
index af882fb3806..84d61722dda 100644
--- a/sys/dev/md.c
+++ b/sys/dev/md.c
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.33 2002/12/11 16:24:38 atatat Exp $ */
+/* $NetBSD: md.c,v 1.34 2003/05/13 02:56:13 thorpej Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross, Leo Weppelman.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.33 2002/12/11 16:24:38 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.34 2003/05/13 02:56:13 thorpej Exp $");
#include "opt_md.h"
@@ -129,7 +129,7 @@ mdattach(n)
#ifdef DIAGNOSTIC
if (ramdisk_ndevs) {
- printf("ramdisk: multiple attach calls?\n");
+ aprint_error("ramdisk: multiple attach calls?\n");
return;
}
#endif
@@ -146,7 +146,7 @@ mdattach(n)
sc = malloc(sizeof(*sc), M_DEVBUF, M_NOWAIT|M_ZERO);
if (!sc) {
- printf("ramdisk: malloc for attach failed!\n");
+ aprint_error("ramdisk: malloc for attach failed!\n");
return;
}
ramdisk_devs[i] = sc;