]> git.puffer.fish Git - matthieu/frr.git/commit
lib, ospfd, ospf6d: fix logging of pointer addresses
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 31 May 2021 13:27:51 +0000 (10:27 -0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 9 Jun 2021 16:27:11 +0000 (19:27 +0300)
commit8e25bd9bbc8cdd71d5fc714a2711f84794dff14d
tree5a3901ed87e2ab7e29bdaed72952a4a448da782a
parentcd63b186febac3227db31aa9d047f4b1a0c63b6e
lib, ospfd, ospf6d: fix logging of pointer addresses

The %p printf format specifier does already print the pointer address
with a leading "0x" prefix (indicating a hexadecimal number). There's
no need to add that prefix manually.

While here, replace explicit function names in log messages by
__func__.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/zclient.c
ospf6d/ospf6_lsa.c
ospfd/ospf_lsa.c