diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-09-22 16:56:49 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-09-22 16:56:49 +0000 |
commit | 5b6654bdf6f88b415d84b148a3789f52f1ec2685 (patch) | |
tree | ce233aa140fe0059fed10f53cfdd1be159abf2c8 /lib/libnetgraph | |
parent | 59b52ed829c8199391024052fe9e5647452fcdb7 (diff) | |
download | FreeBSD-src-5b6654bdf6f88b415d84b148a3789f52f1ec2685.zip FreeBSD-src-5b6654bdf6f88b415d84b148a3789f52f1ec2685.tar.gz |
Prefer C99's __func__ over GCC's __FUNCTION__.
Diffstat (limited to 'lib/libnetgraph')
-rw-r--r-- | lib/libnetgraph/sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libnetgraph/sock.c b/lib/libnetgraph/sock.c index 070abea..1aeafcc 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); } |