diff options
author | ajs <ajs> | 2004-11-20 02:06:59 +0000 |
---|---|---|
committer | ajs <ajs> | 2004-11-20 02:06:59 +0000 |
commit | a113290b29b12bc66ed2d726b7d2ff971b50b8f2 (patch) | |
tree | 9e742d207a6a74c84738e9abf86dbb804e399293 /ospfd/ospf_packet.c | |
parent | d3cd86f5876e014e59268b60e8077d7e8b4f5332 (diff) | |
download | quagga-a113290b29b12bc66ed2d726b7d2ff971b50b8f2.tar.bz2 quagga-a113290b29b12bc66ed2d726b7d2ff971b50b8f2.tar.xz |
2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* global: Replace strerror with safe_strerror. And vtysh/vtysh.c
needs to include "log.h" to pick up the declaration.
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r-- | ospfd/ospf_packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index c582533b..729c8f7e 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -539,7 +539,7 @@ ospf_write_frags (int fd, struct ospf_packet *op, struct ip *iph, iph->ip_id, iph->ip_off, iph->ip_len, - strerror (errno)); + safe_strerror (errno)); if (IS_DEBUG_OSPF_PACKET (type - 1, SEND)) { @@ -690,7 +690,7 @@ ospf_write (struct thread *thread) if (ret < 0) zlog_warn ("*** sendmsg in ospf_write to %s failed with %s", - inet_ntoa (iph.ip_dst), strerror (errno)); + inet_ntoa (iph.ip_dst), safe_strerror (errno)); /* Show debug sending packet. */ if (IS_DEBUG_OSPF_PACKET (type - 1, SEND)) |