summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_async.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_async.c')
-rw-r--r--sys/netgraph/ng_async.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netgraph/ng_async.c b/sys/netgraph/ng_async.c
index 9208447..f88fd70 100644
--- a/sys/netgraph/ng_async.c
+++ b/sys/netgraph/ng_async.c
@@ -258,7 +258,7 @@ nga_rcvdata(hook_p hook, item_p item)
return (nga_rcv_sync(sc, item));
if (hook == sc->async)
return (nga_rcv_async(sc, item));
- panic(__FUNCTION__);
+ panic(__func__);
}
/*
@@ -374,9 +374,9 @@ nga_disconnect(hook_p hook)
else if (hook == sc->sync)
hookp = &sc->sync;
else
- panic(__FUNCTION__);
+ panic(__func__);
if (!*hookp)
- panic(__FUNCTION__ "2");
+ panic("%s 2", __func__);
*hookp = NULL;
bzero(&sc->stats, sizeof(sc->stats));
sc->lasttime = 0;
OpenPOWER on IntegriCloud