summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/carp.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-02-22 08:34:19 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-02-22 08:34:19 +0000
commitb771cf9f9c1b4758ba2b249c62472fbe3442b39f (patch)
treecc7433c70b6f90fb622f6938efb26b6234ca85ea /usr.sbin/bgpd/carp.c
parent95dc81ae9b9a9ff5088c08b567127f2211d0d58a (diff)
KNF
Diffstat (limited to 'usr.sbin/bgpd/carp.c')
-rw-r--r--usr.sbin/bgpd/carp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/carp.c b/usr.sbin/bgpd/carp.c
index 7d619547bff..a4ea1e08a8c 100644
--- a/usr.sbin/bgpd/carp.c
+++ b/usr.sbin/bgpd/carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: carp.c,v 1.3 2006/06/19 12:06:24 henning Exp $ */
+/* $OpenBSD: carp.c,v 1.4 2007/02/22 08:34:18 henning Exp $ */
/*
* Copyright (c) 2006 Henning Brauer <henning@openbsd.org>
@@ -70,7 +70,7 @@ carp_demote_init(char *group, int force)
free(c);
return (-1);
}
-
+
/* only demote if this group already is demoted */
if ((level = carp_demote_get(group)) == -1)
return (-1);
@@ -176,6 +176,6 @@ carp_demote_ioctl(char *group, int demote)
log_info("%s the demote state of group '%s'",
(demote > 0) ? "incremented" : "decremented", group);
- close (s);
+ close(s);
return (res);
}