summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_main.c
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2010-02-04 15:48:35 +0000
committerpaulo <paul@bayleaf.org.uk>2010-02-04 15:48:35 +0000
commitc7e46768ad62e4b9cdcef28095fa2bce55ef7cc1 (patch)
tree823514c9403eeb924b0b8a5c9029f45f174df46d /bgpd/bgp_main.c
parent321902625926d21f511c2d0c55f5aad634224e75 (diff)
downloadquagga-c7e46768ad62e4b9cdcef28095fa2bce55ef7cc1.tar.bz2
quagga-c7e46768ad62e4b9cdcef28095fa2bce55ef7cc1.tar.xz
Missed a few non safe calls of strerror. Improved comments.
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r--bgpd/bgp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c
index 3ad9e0c3..94f8c7e5 100644
--- a/bgpd/bgp_main.c
+++ b/bgpd/bgp_main.c
@@ -569,7 +569,7 @@ main (int argc, char **argv)
/* Turn into daemon if daemon_mode is set. */
if (daemon_mode && daemon (0, 0) < 0)
{
- zlog_err("BGPd daemon failed: %s", strerror(errno));
+ zlog_err("BGPd daemon failed: %s", safe_strerror(errno));
return (1);
}