summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-26 13:25:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-26 13:25:24 +0000
commita4afd6bf9a68e074d30d51d11ba8213183e50632 (patch)
tree0aac5465d206826f5d9925e202304786743dcdd3
parentb942f73a0e174aa514bcc1b41ce50dc6168484d0 (diff)
use standard safe C
-rw-r--r--usr.sbin/sasyncd/carp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sasyncd/carp.c b/usr.sbin/sasyncd/carp.c
index 980ee84e314..3fe52854912 100644
--- a/usr.sbin/sasyncd/carp.c
+++ b/usr.sbin/sasyncd/carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: carp.c,v 1.9 2009/06/25 18:50:22 sthen Exp $ */
+/* $OpenBSD: carp.c,v 1.10 2009/06/26 13:25:23 deraadt Exp $ */
/*
* Copyright (c) 2005 Håkan Olsson. All rights reserved.
@@ -224,9 +224,9 @@ carp_read_message(fd_set *fds)
int
carp_init(void)
{
- cfgstate.route_socket = -1;
unsigned int rtfilter;
+ cfgstate.route_socket = -1;
if (cfgstate.lockedstate != INIT) {
cfgstate.runstate = cfgstate.lockedstate;
log_msg(1, "carp_init: locking runstate to %s",