Skip to contentSkip to conversation

procfs: Fix error message in proc_fill_super()

PATCH New Eric Biggers 1 participant 1 message Jan 19, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 procfs: Fix error message in proc_fill_super()

The error message in proc_fill_super() uses the old function name and does not specify a printk facility. Fix it.

---
 fs/proc/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/proc/inode.c +1 -1
index 439ae688..6d14961 100644
@@ -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;
 }
Signature · 1 line
1.8.1.1