diff options
author | Jeremy Sowden | 2019-06-16 11:43:32 +0100 |
---|---|---|
committer | David S. Miller | 2019-06-16 14:26:14 -0700 |
commit | 8e6a481739a840237ffda9bdc5d4a7ae722745d0 (patch) | |
tree | 0057d2766cd1fe4868f3a46bab8a868799ae101c | |
parent | 4201c9260a8d3c4ef238e51692a7e9b4e1e29efe (diff) |
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>
-rw-r--r-- | drivers/net/wan/x25_asy.c | 4 |
1 files 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; |