aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/tty_mutex.c')
-rw-r--r--drivers/tty/tty_mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/tty_mutex.c b/drivers/tty/tty_mutex.c
index 67feac9e6ebb..2e41abebbcba 100644
--- a/drivers/tty/tty_mutex.c
+++ b/drivers/tty/tty_mutex.c
@@ -19,7 +19,7 @@ static void __lockfunc tty_lock_nested(struct tty_struct *tty,
19 unsigned int subclass) 19 unsigned int subclass)
20{ 20{
21 if (tty->magic != TTY_MAGIC) { 21 if (tty->magic != TTY_MAGIC) {
22 printk(KERN_ERR "L Bad %p\n", tty); 22 pr_err("L Bad %p\n", tty);
23 WARN_ON(1); 23 WARN_ON(1);
24 return; 24 return;
25 } 25 }
@@ -36,7 +36,7 @@ EXPORT_SYMBOL(tty_lock);
36void __lockfunc tty_unlock(struct tty_struct *tty) 36void __lockfunc tty_unlock(struct tty_struct *tty)
37{ 37{
38 if (tty->magic != TTY_MAGIC) { 38 if (tty->magic != TTY_MAGIC) {
39 printk(KERN_ERR "U Bad %p\n", tty); 39 pr_err("U Bad %p\n", tty);
40 WARN_ON(1); 40 WARN_ON(1);
41 return; 41 return;
42 } 42 }