summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstevesk <stevesk@openbsd.org>2005-10-23 20:21:44 +0000
committerstevesk <stevesk@openbsd.org>2005-10-23 20:21:44 +0000
commitd214182432b62b376bd581d7ec202d31f262ba18 (patch)
tree446d0488e6122d517064f38fe94ce549cdd74f81
parentbetter like this (diff)
downloadwireguard-openbsd-d214182432b62b376bd581d7ec202d31f262ba18.tar.xz
wireguard-openbsd-d214182432b62b376bd581d7ec202d31f262ba18.zip
use err() vs. fatal(); ok claudio@
-rw-r--r--usr.sbin/ospfctl/ospfctl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c
index 27bc42f6896..aede9777303 100644
--- a/usr.sbin/ospfctl/ospfctl.c
+++ b/usr.sbin/ospfctl/ospfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfctl.c,v 1.20 2005/10/16 19:31:44 stevesk Exp $ */
+/* $OpenBSD: ospfctl.c,v 1.21 2005/10/23 20:21:44 stevesk Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -36,7 +36,6 @@
#include "ospfd.h"
#include "ospfe.h"
#include "parser.h"
-#include "log.h"
__dead void usage(void);
int show_summary_msg(struct imsg *);
@@ -113,7 +112,7 @@ main(int argc, char *argv[])
err(1, "connect: %s", OSPFD_SOCKET);
if ((ibuf = malloc(sizeof(struct imsgbuf))) == NULL)
- fatal(NULL);
+ err(1, NULL);
imsg_init(ibuf, ctl_sock, NULL);
done = 0;