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