printf -> DPRINTF

This commit is contained in:
martin 2007-10-01 14:18:52 +00:00
parent da0f1debda
commit 464d49ce18
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: consinit.c,v 1.22 2006/10/15 19:38:45 martin Exp $ */
/* $NetBSD: consinit.c,v 1.23 2007/10/01 14:18:52 martin Exp $ */
/*-
* Copyright (c) 1999 Eduardo E. Horvath
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.22 2006/10/15 19:38:45 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.23 2007/10/01 14:18:52 martin Exp $");
#include "opt_ddb.h"
#include "pcons.h"
@ -216,10 +216,9 @@ consinit()
(OF_instance_to_path(prom_stdin(), buffer, sizeof(buffer)) >= 0)) {
consname = buffer;
}
printf("console is %s\n", consname);
DBPRINT(("console is %s\n", consname));
/* Initialize PROM console */
(*cn_tab->cn_probe)(cn_tab);
(*cn_tab->cn_init)(cn_tab);
}