aboutsummaryrefslogtreecommitdiff
path: root/lib/libnetgraph/sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libnetgraph/sock.c')
-rw-r--r--lib/libnetgraph/sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libnetgraph/sock.c b/lib/libnetgraph/sock.c
index 070abea9852d..1aeafcc8a1f9 100644
--- a/lib/libnetgraph/sock.c
+++ b/lib/libnetgraph/sock.c
@@ -196,7 +196,7 @@ NgNameNode(int cs, const char *path, const char *fmt, ...)
if (NgSendMsg(cs, path,
NGM_GENERIC_COOKIE, NGM_NAME, &ngn, sizeof(ngn)) < 0) {
if (_gNgDebugLevel >= 1)
- NGLOGX("%s: failed", __FUNCTION__);
+ NGLOGX("%s: failed", __func__);
return (-1);
}