From a113290b29b12bc66ed2d726b7d2ff971b50b8f2 Mon Sep 17 00:00:00 2001 From: ajs Date: Sat, 20 Nov 2004 02:06:59 +0000 Subject: 2004-11-19 Andrew J. Schorr * global: Replace strerror with safe_strerror. And vtysh/vtysh.c needs to include "log.h" to pick up the declaration. --- ospf6d/ospf6_zebra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospf6d/ospf6_zebra.c') diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c index 0baaaea9..2b21567f 100644 --- a/ospf6d/ospf6_zebra.c +++ b/ospf6d/ospf6_zebra.c @@ -461,7 +461,7 @@ ospf6_zebra_route_update (int type, struct ospf6_route *request) if (ret < 0) zlog_err ("zapi_ipv6_route() %s failed: %s", - (type == REM ? "delete" : "add"), strerror (errno)); + (type == REM ? "delete" : "add"), safe_strerror (errno)); XFREE (MTYPE_OSPF6_OTHER, nexthops); XFREE (MTYPE_OSPF6_OTHER, ifindexes); -- cgit v1.2.3