From: Jeremy Sowden Date: Sun, 16 Jun 2019 10:43:32 +0000 (+0100) Subject: x25_asy: fixed function name in error message. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8e6a481739a840237ffda9bdc5d4a7ae722745d0;p=openwrt%2Fstaging%2Fblogic.git x25_asy: fixed function name in error message. Replaced incorrect hard-coded function-name in error message with __func__. Signed-off-by: Jeremy Sowden Signed-off-by: David S. Miller --- diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c index d78bc838d631..914be5847386 100644 --- a/drivers/net/wan/x25_asy.c +++ b/drivers/net/wan/x25_asy.c @@ -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;