linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] procfs:  Fix error message in proc_fill_super()
@ 2013-01-19  5:36 Eric Biggers
  0 siblings, 0 replies; only message in thread
From: Eric Biggers @ 2013-01-19  5:36 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Eric Biggers

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-19  5:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-19  5:36 [PATCH] procfs: Fix error message in proc_fill_super() Eric Biggers

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).