From 6a52d0d155fc8b892e30cdb5e3fbe4c2779bd4cd Mon Sep 17 00:00:00 2001 From: ajs Date: Sun, 30 Jan 2005 18:49:28 +0000 Subject: 2005-01-30 Andrew J. Schorr * daemon.c: (daemon) Replace perror with zlog_err. * vty.c: (vty_serv_un) Replace perror with zlog_err. * ripd.c: (rip_create_socket) Replace perror with zlog_err. * ioctl.c: (if_ioctl,if_ioctl_ipv6,if_get_flags) Replace perror with zlog_err. * ioctl_solaris.c: (if_ioctl,if_ioctl_ipv6) Replace perror with zlog_err. --- ripd/ripd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ripd/ripd.c') diff --git a/ripd/ripd.c b/ripd/ripd.c index 2a345a66..b5d130e8 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -1985,7 +1985,7 @@ rip_create_socket () sock = socket (AF_INET, SOCK_DGRAM, 0); if (sock < 0) { - perror ("socket"); + zlog_err("Cannot create UDP socket: %s", safe_strerror(errno)); exit (1); } -- cgit v1.2.1