diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-11-30 00:17:19 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-11-30 00:17:19 +0000 |
commit | 3fca817cbc05076038d7e138301275202aed2fc1 (patch) | |
tree | b03c6da193efb1ffb76f183d6a32275e3a1c5633 | |
parent | 44bf1468deea38e5f0232d96c87d404aaa2371a3 (diff) |
Use %s, not %d to print the interface name. From Max Laier.
-rw-r--r-- | sys/netinet/ip_carp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 821dd9dc14a..f0f7477f925 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.71 2004/11/28 03:14:03 mcbride Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.72 2004/11/30 00:17:18 mcbride Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -372,7 +372,7 @@ carp_input(struct mbuf *m, ...) len = iplen + sizeof(*ch); if (len > m->m_pkthdr.len) { carpstats.carps_badlen++; - CARP_LOG(sc, ("packet too short %d on %d", m->m_pkthdr.len, + CARP_LOG(sc, ("packet too short %d on %s", m->m_pkthdr.len, m->m_pkthdr.rcvif->if_xname)); m_freem(m); return; |