diff options
author | Michele Marchetto <michele@cvs.openbsd.org> | 2008-11-23 13:09:32 +0000 |
---|---|---|
committer | Michele Marchetto <michele@cvs.openbsd.org> | 2008-11-23 13:09:32 +0000 |
commit | e86ddb7c0742ced59c785a9fd3f9cc2a443653d5 (patch) | |
tree | 15756651b3834d0d2bb886b09424a8b4ec4ad27b /usr.sbin/ripd | |
parent | b49e168e6b04bb32e80799e7549cb5aa07794d4e (diff) |
Fix two error messages.
Diffstat (limited to 'usr.sbin/ripd')
-rw-r--r-- | usr.sbin/ripd/ripe.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <mydecay@openbeer.it> @@ -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) |