From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 16.mo1.mail-out.ovh.net ([178.33.104.224] helo=mo1.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UDw2A-0000B5-6N for barebox@lists.infradead.org; Fri, 08 Mar 2013 12:04:28 +0000 Received: from mail405.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo1.mail-out.ovh.net (Postfix) with SMTP id 3E0F1FFA682 for ; Fri, 8 Mar 2013 13:20:37 +0100 (CET) From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 8 Mar 2013 12:59:39 +0100 Message-Id: <1362743983-11462-7-git-send-email-plagnioj@jcrosoft.com> In-Reply-To: <1362743983-11462-1-git-send-email-plagnioj@jcrosoft.com> References: <20130307215402.GA32347@game.jcrosoft.org> <1362743983-11462-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 07/11] 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