x25_asy: fixed function name in error message.
Replaced incorrect hard-coded function-name in error message with __func__. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4201c9260a
commit
8e6a481739
@ -602,8 +602,8 @@ static void x25_asy_close_tty(struct tty_struct *tty)
|
|||||||
|
|
||||||
err = lapb_unregister(sl->dev);
|
err = lapb_unregister(sl->dev);
|
||||||
if (err != LAPB_OK)
|
if (err != LAPB_OK)
|
||||||
pr_err("x25_asy_close: lapb_unregister error: %d\n",
|
pr_err("%s: lapb_unregister error: %d\n",
|
||||||
err);
|
__func__, err);
|
||||||
|
|
||||||
tty->disc_data = NULL;
|
tty->disc_data = NULL;
|
||||||
sl->tty = NULL;
|
sl->tty = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user