diff options
author | Moritz Jodeit <moritz@cvs.openbsd.org> | 2006-01-26 09:53:47 +0000 |
---|---|---|
committer | Moritz Jodeit <moritz@cvs.openbsd.org> | 2006-01-26 09:53:47 +0000 |
commit | ed2b45af75e678b81e512beb7df99f418847864a (patch) | |
tree | 3ab735033de8a2e8478801e6b131b18903c63d6a /usr.sbin/sasyncd/carp.c | |
parent | 7272697af33b1fbbec4d08d8d934ccf78113cd2c (diff) |
fix some format strings and add a missing
argument to a log_err() call. ok ho@
Diffstat (limited to 'usr.sbin/sasyncd/carp.c')
-rw-r--r-- | usr.sbin/sasyncd/carp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sasyncd/carp.c b/usr.sbin/sasyncd/carp.c index 06391e52499..dee7e4451b5 100644 --- a/usr.sbin/sasyncd/carp.c +++ b/usr.sbin/sasyncd/carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: carp.c,v 1.1 2005/03/30 18:44:49 ho Exp $ */ +/* $OpenBSD: carp.c,v 1.2 2006/01/26 09:53:46 moritz Exp $ */ /* * Copyright (c) 2005 Håkan Olsson. All rights reserved. @@ -96,7 +96,7 @@ carp_get_state(char *ifname) break; } - log_msg(4, "carp_get_state: %s vhid %u state %s(%d)", ifname, + log_msg(4, "carp_get_state: %s vhid %d state %s(%d)", ifname, carp.carpr_vhid, state, carp.carpr_state); if (carp.carpr_vhid > 0) |