diff options
| author | jmcneill <jmcneill@NetBSD.org> | 2007-12-01 18:10:48 +0000 |
|---|---|---|
| committer | jmcneill <jmcneill@NetBSD.org> | 2007-12-01 18:10:48 +0000 |
| commit | 13ca221015de9765baede5a2361192991715b846 (patch) | |
| tree | 320f16a7fc1e738e85b8d84ab0f82ea1d7fb4ade /sys/dev/raidframe | |
| parent | 28712e0756be70f93781728e6fecd9198161c757 (diff) | |
aprintify
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_netbsdkintf.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index a2abed57b74..ecd02f07a83 100644 --- a/sys/dev/raidframe/rf_netbsdkintf.c +++ b/sys/dev/raidframe/rf_netbsdkintf.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_netbsdkintf.c,v 1.238 2007/11/26 19:01:38 pooka Exp $ */ +/* $NetBSD: rf_netbsdkintf.c,v 1.239 2007/12/01 18:10:48 jmcneill Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -146,7 +146,7 @@ ***********************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.238 2007/11/26 19:01:38 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.239 2007/12/01 18:10:48 jmcneill Exp $"); #include <sys/param.h> #include <sys/errno.h> @@ -367,7 +367,7 @@ raidattach(int num) raidPtrs[i] = NULL; rc = rf_BootRaidframe(); if (rc == 0) - printf("Kernelized RAIDframe activated\n"); + aprint_normal("Kernelized RAIDframe activated\n"); else panic("Serious error booting RAID!!"); @@ -378,7 +378,7 @@ raidattach(int num) malloc(num * sizeof(struct raid_softc), M_RAIDFRAME, M_NOWAIT); if (raid_softc == NULL) { - printf("WARNING: no memory for RAIDframe driver\n"); + aprint_error("WARNING: no memory for RAIDframe driver\n"); return; } @@ -390,14 +390,14 @@ raidattach(int num) RF_Malloc(raidPtrs[raidID], sizeof(RF_Raid_t), (RF_Raid_t *)); if (raidPtrs[raidID] == NULL) { - printf("WARNING: raidPtrs[%d] is NULL\n", raidID); + aprint_error("WARNING: raidPtrs[%d] is NULL\n", raidID); numraid = raidID; return; } } if (config_cfattach_attach(raid_cd.cd_name, &raid_ca)) { - printf("config_cfattach_attach failed?\n"); + aprint_error("raidattach: config_cfattach_attach failed?\n"); } #ifdef RAID_AUTOCONFIG @@ -409,7 +409,7 @@ raidattach(int num) * sets once all real hardware devices have been found. */ if (config_finalize_register(NULL, rf_autoconfig) != 0) - printf("WARNING: unable to register RAIDframe finalizer\n"); + aprint_error("WARNING: unable to register RAIDframe finalizer\n"); } int |
