summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_UI.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_UI.c')
-rw-r--r--sys/netgraph/ng_UI.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_UI.c b/sys/netgraph/ng_UI.c
index fdf03bd..e0733bc 100644
--- a/sys/netgraph/ng_UI.c
+++ b/sys/netgraph/ng_UI.c
@@ -200,7 +200,7 @@ ng_UI_rcvdata(hook_p hook, item_p item)
mtod(m, u_char *)[0] = HDLC_UI;
NG_FWD_NEW_DATA(error, item, priv->downlink, m); /* m -> NULL */
} else
- panic(__FUNCTION__);
+ panic(__func__);
done:
NG_FREE_M(m); /* does nothing if m == NULL */
@@ -237,7 +237,7 @@ ng_UI_disconnect(hook_p hook)
else if (hook == priv->uplink)
priv->uplink = NULL;
else
- panic(__FUNCTION__);
+ panic(__func__);
/*
* If we are not already shutting down,
* and we have no more hooks, then DO shut down.
OpenPOWER on IntegriCloud