Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/route6d Pullup 1.19 [itojun]:
details: https://anonhg.NetBSD.org/src/rev/7eae8bd1f86e
branches: netbsd-1-5
changeset: 489838:7eae8bd1f86e
user: tv <tv%NetBSD.org@localhost>
date: Tue Oct 17 23:07:16 2000 +0000
description:
Pullup 1.19 [itojun]:
cast size_t to u_long on printing. sync with kame
diffstat:
usr.sbin/route6d/route6d.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (41 lines):
diff -r c4840a728744 -r 7eae8bd1f86e usr.sbin/route6d/route6d.c
--- a/usr.sbin/route6d/route6d.c Tue Oct 17 22:59:23 2000 +0000
+++ b/usr.sbin/route6d/route6d.c Tue Oct 17 23:07:16 2000 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: route6d.c,v 1.13.4.4 2000/08/13 03:08:52 itojun Exp $ */
-/* $KAME: route6d.c,v 1.35 2000/08/13 00:39:44 itojun Exp $ */
+/* $NetBSD: route6d.c,v 1.13.4.5 2000/10/17 23:07:16 tv Exp $ */
+/* $KAME: route6d.c,v 1.37 2000/10/10 13:02:30 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: route6d.c,v 1.13.4.4 2000/08/13 03:08:52 itojun Exp $");
+__RCSID("$NetBSD: route6d.c,v 1.13.4.5 2000/10/17 23:07:16 tv Exp $");
#endif
#include <stdio.h>
@@ -1457,8 +1457,8 @@
exit(-1);
}
if (len < sizeof(*rtm)) {
- trace(1, "short read from rtsock: %d (should be > %d)\n",
- len, sizeof(*rtm));
+ trace(1, "short read from rtsock: %d (should be > %lu)\n",
+ len, (u_long)sizeof(*rtm));
return;
}
@@ -2218,7 +2218,8 @@
}
} while (retry < 5 && errmsg != NULL);
if (errmsg)
- fatal("%s (with %d retries, msize=%d)", errmsg, retry, msize);
+ fatal("%s (with %d retries, msize=%lu)", errmsg, retry,
+ (u_long)msize);
else if (1 < retry)
syslog(LOG_INFO, "NET_RT_DUMP %d retires", retry);
Home |
Main Index |
Thread Index |
Old Index