x25_asy: fixed function name in error message.
authorJeremy Sowden <jeremy@azazel.net>
Sun, 16 Jun 2019 10:43:32 +0000 (11:43 +0100)
committerDavid 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

index d78bc838d63194a24a5612b6f0be0b24015af100..914be58473866c03a6e804b4d6beba1736e35546 100644 (file)
@@ -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;