From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 18.mo4.mail-out.ovh.net ([188.165.54.143] helo=mo4.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UD9xQ-0007Ni-Gr for barebox@lists.infradead.org; Wed, 06 Mar 2013 08:44:18 +0000 Received: from mail413.ha.ovh.net (gw6.ovh.net [213.251.189.206]) by mo4.mail-out.ovh.net (Postfix) with SMTP id BDD58104E4FC for ; Wed, 6 Mar 2013 09:55:19 +0100 (CET) From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 6 Mar 2013 09:39:50 +0100 Message-Id: <1362559192-11992-7-git-send-email-plagnioj@jcrosoft.com> In-Reply-To: <1362559192-11992-1-git-send-email-plagnioj@jcrosoft.com> References: <20130306083849.GC4401@game.jcrosoft.org> <1362559192-11992-1-git-send-email-plagnioj@jcrosoft.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 7/9] net/console: switch to pr_xxx To: barebox@lists.infradead.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- 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)); kfree(priv); return ret; } @@ -194,7 +194,7 @@ static int netconsole_init(void) dev_add_param(&cdev->class_dev, "port", nc_port_set, NULL, 0); dev_set_param(&cdev->class_dev, "port", "6666"); - printf("registered netconsole as %s%d\n", cdev->class_dev.name, cdev->class_dev.id); + pr_info("registered netconsole as %s%d\n", cdev->class_dev.name, cdev->class_dev.id); return 0; } -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox