From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Biggers Subject: [PATCH] procfs: Fix error message in proc_fill_super() Date: Fri, 18 Jan 2013 23:36:55 -0600 Message-ID: <1358573815-23337-1-git-send-email-ebiggers3@gmail.com> Cc: Eric Biggers To: linux-fsdevel@vger.kernel.org Return-path: Received: from mail-ie0-f182.google.com ([209.85.223.182]:44657 "EHLO mail-ie0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751051Ab3ASFkk (ORCPT ); Sat, 19 Jan 2013 00:40:40 -0500 Received: by mail-ie0-f182.google.com with SMTP id s9so7338927iec.13 for ; Fri, 18 Jan 2013 21:40:39 -0800 (PST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: The error message in proc_fill_super() uses the old function name and does not specify a printk facility. Fix it. Signed-off-by: Eric Biggers --- fs/proc/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 439ae688..6d14961 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -498,7 +498,7 @@ int proc_fill_super(struct super_block *s) if (s->s_root) return 0; - printk("proc_read_super: get root inode failed\n"); + pr_err("proc_fill_super: get root inode failed\n"); pde_put(&proc_root); return -ENOMEM; } -- 1.8.1.1