diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2019-06-16 13:43:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-17 00:26:14 +0300 |
commit | 8e6a481739a840237ffda9bdc5d4a7ae722745d0 (patch) | |
tree | 0057d2766cd1fe4868f3a46bab8a868799ae101c | |
parent | 4201c9260a8d3c4ef238e51692a7e9b4e1e29efe (diff) | |
download | linux-8e6a481739a840237ffda9bdc5d4a7ae722745d0.tar.xz |
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; |