From e86ddb7c0742ced59c785a9fd3f9cc2a443653d5 Mon Sep 17 00:00:00 2001 From: Michele Marchetto Date: Sun, 23 Nov 2008 13:09:32 +0000 Subject: Fix two error messages. --- usr.sbin/ripd/ripe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/ripd') diff --git a/usr.sbin/ripd/ripe.c b/usr.sbin/ripd/ripe.c index 25a5664d842..93c594aced6 100644 --- a/usr.sbin/ripd/ripe.c +++ b/usr.sbin/ripd/ripe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ripe.c,v 1.6 2007/10/24 19:05:06 claudio Exp $ */ +/* $OpenBSD: ripe.c,v 1.7 2008/11/23 13:09:31 michele Exp $ */ /* * Copyright (c) 2006 Michele Marchetto @@ -95,11 +95,11 @@ ripe(struct ripd_conf *xconf, int pipe_parent2ripe[2], int pipe_ripe2rde[2], if ((xconf->rip_socket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) - fatalx("if_init: cannot create socket"); + fatalx("error creating socket"); if (bind(xconf->rip_socket, (struct sockaddr *)&addr, sizeof(addr)) == -1) - fatal("error creating socket"); + fatal("error binding socket"); /* set some defaults */ if (if_set_opt(xconf->rip_socket) == -1) -- cgit v1.2.3