diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2020-03-05 17:37:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-05 17:37:03 -0500 |
| commit | 498897d8d837f2abee51a0064ee45c639340c5bb (patch) | |
| tree | 45010659cdd6fc20103db249e24b9501c8f11e29 /pimd/pim_sock.c | |
| parent | 01abb5acde5891f48491282b32a06b873be1f98a (diff) | |
| parent | 15569c58f8001d37bccaed7f99b6987315125036 (diff) | |
Merge pull request #5918 from ton31337/fix/__func__everywhere
__func__ everywhere
Diffstat (limited to 'pimd/pim_sock.c')
| -rw-r--r-- | pimd/pim_sock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_sock.c b/pimd/pim_sock.c index 7f03e18389..177dab05ca 100644 --- a/pimd/pim_sock.c +++ b/pimd/pim_sock.c @@ -153,7 +153,7 @@ int pim_socket_mcast(int protocol, struct in_addr ifaddr, struct interface *ifp, flog_err( EC_LIB_DEVELOPMENT, "%s %s: Missing IP_PKTINFO and IP_RECVDSTADDR: unable to get dst addr from recvmsg()", - __FILE__, __PRETTY_FUNCTION__); + __FILE__, __func__); close(fd); return PIM_SOCK_ERR_DSTADDR; #endif @@ -231,8 +231,8 @@ int pim_socket_mcast(int protocol, struct in_addr ifaddr, struct interface *ifp, } if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof(rcvbuf))) - zlog_warn("%s: Failure to set buffer size to %d", - __PRETTY_FUNCTION__, rcvbuf); + zlog_warn("%s: Failure to set buffer size to %d", __func__, + rcvbuf); { long flags; |
