summaryrefslogtreecommitdiff
path: root/zebra/rtadv.c
diff options
context:
space:
mode:
authorsri-mohan1 <sri.mohan@samsung.com>2022-09-23 00:04:40 +0530
committersri-mohan1 <sri.mohan@samsung.com>2022-09-23 09:57:35 +0530
commita843c5ba2a64593652a0d91c854e185e044c17f8 (patch)
treed9c33806275c05f0f39a86baa58c4cf960752945 /zebra/rtadv.c
parent6751c0f328b0f2d237c4eff6f7c979fb2d6671d7 (diff)
zebra: changes for code maintainability
these changes are for improving the code maintainability Signed-off-by: sri-mohan1 <sri.mohan@samsung.com>
Diffstat (limited to 'zebra/rtadv.c')
-rw-r--r--zebra/rtadv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index bf959980be..93590a2f16 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -227,8 +227,7 @@ static void rtadv_send_packet(int sock, struct interface *ifp,
adata = calloc(1, CMSG_SPACE(sizeof(struct in6_pktinfo)));
if (adata == NULL) {
- zlog_debug(
- "rtadv_send_packet: can't malloc control data");
+ zlog_debug("%s: can't malloc control data", __func__);
exit(-1);
}
}