summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2004-10-13 22:54:36 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2004-10-13 22:54:36 +0000
commit51d6f4f08020a82d2332e882adad51ca775ed4f5 (patch)
tree7edb237ff843b20c119f42617060db75ae739802 /sbin
parent8a5e40cfb633ac6ce6737691a77db6d5db661ac8 (diff)
print the expire route metric as signed; ok deraadt claudio
Diffstat (limited to 'sbin')
-rw-r--r--sbin/route/route.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 394c0c0043d..35eeea45094 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.79 2004/09/26 19:46:01 jaredy Exp $ */
+/* $OpenBSD: route.c,v 1.80 2004/10/13 22:54:35 jaredy Exp $ */
/* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */
/*
@@ -40,7 +40,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94";
#else
-static const char rcsid[] = "$OpenBSD: route.c,v 1.79 2004/09/26 19:46:01 jaredy Exp $";
+static const char rcsid[] = "$OpenBSD: route.c,v 1.80 2004/10/13 22:54:35 jaredy Exp $";
#endif
#endif /* not lint */
@@ -1249,7 +1249,7 @@ print_getmsg(struct rt_msghdr *rtm, int msglen)
printf("%8lu%c ", rtm->rtm_rmx.rmx_mtu, lock(MTU));
if (rtm->rtm_rmx.rmx_expire)
rtm->rtm_rmx.rmx_expire -= time(0);
- printf("%8lu%c\n", rtm->rtm_rmx.rmx_expire, lock(EXPIRE));
+ printf("%8ld%c\n", rtm->rtm_rmx.rmx_expire, lock(EXPIRE));
#undef lock
#undef msec
#define RTA_IGN (RTA_DST|RTA_GATEWAY|RTA_NETMASK|RTA_IFP|RTA_IFA|RTA_BRD)