On Wed, Mar 06, 2013 at 09:39:50AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> > --- > net/netconsole.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/net/netconsole.c b/net/netconsole.c > index 7d0f3f4..8db8356 100644 > --- a/net/netconsole.c > +++ b/net/netconsole.c > @@ -185,7 +185,7 @@ static int netconsole_init(void) > > ret = console_register(cdev); > if (ret) { > - printf("netconsole: registering failed with %s\n", strerror(-ret)); > + pr_err("netconsole: registering failed with %s\n", strerror(-ret)); When you rework the printfs please add a: #define pr_fmt(fmt) "netconsole: " fmt to get a consistent layout of the pr_* messages. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox