summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_btoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_btoa.c')
-rw-r--r--bgpd/bgp_btoa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_btoa.c b/bgpd/bgp_btoa.c
index b9ff67c54..a6c16d8c2 100644
--- a/bgpd/bgp_btoa.c
+++ b/bgpd/bgp_btoa.c
@@ -160,7 +160,8 @@ main (int argc, char **argv)
fp = fopen (argv[1], "r");
if (!fp)
{
- perror ("fopen");
+ fprintf (stdout,"%% Can't open configuration file %s due to '%s'.\n",
+ argv[1], safe_strerror(errno));
exit (1);
}