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:
Jeremy Sowden 2019-06-16 11:43:32 +01:00 committed by David S. Miller
parent 4201c9260a
commit 8e6a481739
1 changed files with 2 additions and 2 deletions

View File

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