summaryrefslogtreecommitdiff
path: root/sbin/routed/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/routed/trace.c')
-rw-r--r--sbin/routed/trace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/routed/trace.c b/sbin/routed/trace.c
index 24ae7945a7d..0fd67ce5627 100644
--- a/sbin/routed/trace.c
+++ b/sbin/routed/trace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trace.c,v 1.15 2005/04/12 15:26:47 cloder Exp $ */
+/* $OpenBSD: trace.c,v 1.16 2007/12/28 19:19:22 chl Exp $ */
/* $NetBSD: trace.c,v 1.13 1995/06/20 22:28:03 christos Exp $ */
/*
@@ -33,7 +33,7 @@
#if !defined(lint)
static char sccsid[] = "@(#)trace.c 8.1 (Berkeley) 6/5/93";
#else
-static char rcsid[] = "$OpenBSD: trace.c,v 1.15 2005/04/12 15:26:47 cloder Exp $";
+static char rcsid[] = "$OpenBSD: trace.c,v 1.16 2007/12/28 19:19:22 chl Exp $";
#endif
#define RIPCMDS
@@ -662,7 +662,7 @@ trace_change(struct rt_entry *rt,
AGE_RT(rt->rt_state, rt->rt_ifp) ? ts(rt->rt_time) : "");
(void)fprintf(ftrace, "%*s %19s%-16s ",
- strlen(label), "", "",
+ (int)strlen(label), "", "",
rt->rt_gate != gate ? naddr_ntoa(gate) : "");
if (rt->rt_metric != metric)
(void)fprintf(ftrace, "metric=%-2d ", metric);