diff options
author | obrien <obrien@FreeBSD.org> | 2005-08-10 06:25:41 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2005-08-10 06:25:41 +0000 |
commit | 0875ef67819c724c499d69258fba7083ef97a46c (patch) | |
tree | 5336c1ae1f40c0a507b03eef0c10e241991b7be7 /sys/netgraph/atm/uni | |
parent | 57f686d55c645312b91dbd790ae7c580dff78b30 (diff) | |
download | FreeBSD-src-0875ef67819c724c499d69258fba7083ef97a46c.zip FreeBSD-src-0875ef67819c724c499d69258fba7083ef97a46c.tar.gz |
Use the ISO standard function variable vs. a GCC'ism.
Diffstat (limited to 'sys/netgraph/atm/uni')
-rw-r--r-- | sys/netgraph/atm/uni/ng_uni.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netgraph/atm/uni/ng_uni.c b/sys/netgraph/atm/uni/ng_uni.c index 915b53b..4cf6353 100644 --- a/sys/netgraph/atm/uni/ng_uni.c +++ b/sys/netgraph/atm/uni/ng_uni.c @@ -499,7 +499,7 @@ ng_uni_disconnect(hook_p hook) else if(hook == priv->upper) priv->upper = NULL; else - printf("%s: bogus hook %s\n", __FUNCTION__, NG_HOOK_NAME(hook)); + printf("%s: bogus hook %s\n", __func__, NG_HOOK_NAME(hook)); if (NG_NODE_NUMHOOKS(node) == 0) { if (NG_NODE_IS_VALID(node)) @@ -543,7 +543,7 @@ ng_uni_rcvupper(hook_p hook, item_p item) m_freem(m); if (uni_msg_len(msg) < sizeof(arg)) { - printf("%s: packet too short\n", __FUNCTION__); + printf("%s: packet too short\n", __func__); uni_msg_destroy(msg); return (EINVAL); } @@ -552,7 +552,7 @@ ng_uni_rcvupper(hook_p hook, item_p item) msg->b_rptr += sizeof(arg); if (arg.sig >= UNIAPI_MAXSIG) { - printf("%s: bogus signal\n", __FUNCTION__); + printf("%s: bogus signal\n", __func__); uni_msg_destroy(msg); return (EINVAL); } @@ -683,7 +683,7 @@ ng_uni_rcvlower(hook_p hook __unused, item_p item) if (uni_msg_len(msg) < sizeof(arg)) { uni_msg_destroy(msg); - printf("%s: packet too short\n", __FUNCTION__); + printf("%s: packet too short\n", __func__); return (EINVAL); } bcopy(msg->b_rptr, &arg, sizeof(arg)); @@ -691,7 +691,7 @@ ng_uni_rcvlower(hook_p hook __unused, item_p item) if (arg.sig > SAAL_UDATA_indication) { uni_msg_destroy(msg); - printf("%s: bogus signal\n", __FUNCTION__); + printf("%s: bogus signal\n", __func__); return (EINVAL); } |