From 8e6a481739a840237ffda9bdc5d4a7ae722745d0 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Sun, 16 Jun 2019 11:43:32 +0100 Subject: [PATCH] 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 --- drivers/net/wan/x25_asy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2