summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/bgpd.c')
-rw-r--r--usr.sbin/bgpd/bgpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c
index 2a98f4deabd..091b24fdf67 100644
--- a/usr.sbin/bgpd/bgpd.c
+++ b/usr.sbin/bgpd/bgpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.c,v 1.13 2003/12/22 11:00:19 henning Exp $ */
+/* $OpenBSD: bgpd.c,v 1.14 2003/12/22 11:04:12 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -105,7 +105,7 @@ main(int argc, char *argv[])
log_init(1); /* log to stderr until daemonized */
if (geteuid())
- fatal("need root privileges", 0);
+ errx(1, "need root privileges");
bzero(&conf, sizeof(conf));
bzero(&mrtconf, sizeof(mrtconf));