linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers3@gmail.com>
To: linux-fsdevel@vger.kernel.org
Cc: Eric Biggers <ebiggers3@gmail.com>
Subject: [PATCH] procfs:  Fix error message in proc_fill_super()
Date: Fri, 18 Jan 2013 23:36:55 -0600	[thread overview]
Message-ID: <1358573815-23337-1-git-send-email-ebiggers3@gmail.com> (raw)

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 <ebiggers3@gmail.com>
---
 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


                 reply	other threads:[~2013-01-19  5:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358573815-23337-1-git-send-email-ebiggers3@gmail.com \
    --to=ebiggers3@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).