From e60b9f5130555c81ac3e6b39130d5b332a979c02 Mon Sep 17 00:00:00 2001 From: Stefan Farfeleder Date: Wed, 22 Sep 2004 16:56:49 +0000 Subject: Prefer C99's __func__ over GCC's __FUNCTION__. --- lib/libnetgraph/sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libnetgraph/sock.c') 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); } -- cgit v1.2.3