Commit 8e6a4817 authored by Jeremy Sowden's avatar Jeremy Sowden Committed by David S. Miller

x25_asy: fixed function name in error message.

Replaced incorrect hard-coded function-name in error message with
__func__.
Signed-off-by: default avatarJeremy Sowden <jeremy@azazel.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4201c926
......@@ -602,8 +602,8 @@ static void x25_asy_close_tty(struct tty_struct *tty)
err = lapb_unregister(sl->dev);
if (err != LAPB_OK)
pr_err("x25_asy_close: lapb_unregister error: %d\n",
err);
pr_err("%s: lapb_unregister error: %d\n",
__func__, err);
tty->disc_data = NULL;
sl->tty = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment