aboutsummaryrefslogtreecommitdiff
path: root/lib/libnetgraph/sock.c
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-09-22 16:56:49 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-09-22 16:56:49 +0000
commite60b9f5130555c81ac3e6b39130d5b332a979c02 (patch)
treece233aa140fe0059fed10f53cfdd1be159abf2c8 /lib/libnetgraph/sock.c
parentff9af45a01e0312f2d252d06cdfefa08a2abcb37 (diff)
Prefer C99's __func__ over GCC's __FUNCTION__.
Notes
Notes: svn path=/head/; revision=135576
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);
}