projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4201c92
)
x25_asy: fixed function name in error message.
author
Jeremy Sowden
<jeremy@azazel.net>
Sun, 16 Jun 2019 10:43:32 +0000
(11:43 +0100)
committer
David S. Miller
<davem@davemloft.net>
Sun, 16 Jun 2019 21:26:14 +0000
(14:26 -0700)
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>
drivers/net/wan/x25_asy.c
patch
|
blob
|
history
diff --git
a/drivers/net/wan/x25_asy.c
b/drivers/net/wan/x25_asy.c
index d78bc838d63194a24a5612b6f0be0b24015af100..914be58473866c03a6e804b4d6beba1736e35546 100644
(file)
--- 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;