summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_socket.c')
-rw-r--r--sys/netgraph/ng_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c
index 8080f68..50b5318 100644
--- a/sys/netgraph/ng_socket.c
+++ b/sys/netgraph/ng_socket.c
@@ -621,7 +621,7 @@ ng_detach_common(struct ngpcb *pcbp, int which)
priv->datasock = NULL;
break;
default:
- panic(__func__);
+ panic("%s", __func__);
}
pcbp->sockdata = NULL;
OpenPOWER on IntegriCloud