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/pim6dd Pullup 1.6 [itojun]:



details:   https://anonhg.NetBSD.org/src/rev/1faea9721eff
branches:  netbsd-1-5
changeset: 489866:1faea9721eff
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Oct 18 02:16:21 2000 +0000

description:
Pullup 1.6 [itojun]:
printf-format audit.  from sommrfeld%netbsd.org@localhost.  sync with kame.

diffstat:

 usr.sbin/pim6dd/defs.h       |  5 +++--
 usr.sbin/pim6dd/pim6_proto.c |  4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 4f6cb2bb92ae -r 1faea9721eff usr.sbin/pim6dd/defs.h
--- a/usr.sbin/pim6dd/defs.h    Wed Oct 18 02:07:12 2000 +0000
+++ b/usr.sbin/pim6dd/defs.h    Wed Oct 18 02:16:21 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: defs.h,v 1.5 2000/05/19 10:43:37 itojun Exp $  */
+/*     $NetBSD: defs.h,v 1.5.4.1 2000/10/18 02:16:21 tv Exp $  */
 
 /*
  *  Copyright (c) 1998 by the University of Oregon.
@@ -323,7 +323,8 @@
 /* debug.c */
 extern char     *packet_kind __P((u_int proto, u_int type, u_int code));
 extern int      debug_kind   __P((u_int proto, u_int type, u_int code));
-extern void     log          __P((int, int, char *, ...));
+extern void     log          __P((int, int, char *, ...))
+       __attribute__((__format__(__printf__, 3, 4)));
 extern void    dump_mldqueriers __P((FILE *));
 extern int      log_level    __P((u_int proto, u_int type, u_int code));
 extern void     dump         __P((int i));
diff -r 4f6cb2bb92ae -r 1faea9721eff usr.sbin/pim6dd/pim6_proto.c
--- a/usr.sbin/pim6dd/pim6_proto.c      Wed Oct 18 02:07:12 2000 +0000
+++ b/usr.sbin/pim6dd/pim6_proto.c      Wed Oct 18 02:16:21 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pim6_proto.c,v 1.5 2000/05/19 10:43:43 itojun Exp $    */
+/*     $NetBSD: pim6_proto.c,v 1.5.4.1 2000/10/18 02:16:21 tv Exp $    */
 
 /*
  * Copyright (C) 1998 WIDE Project.
@@ -490,7 +490,7 @@
 #endif
     
        IF_DEBUG(DEBUG_PIM_JOIN_PRUNE)
-               log(LOG_DEBUG, 0, "Scheduling join for src %s, grp %s, delay %d",
+               log(LOG_DEBUG, 0, "Scheduling join for src %s, grp %s, delay %ld",
                    inet6_fmt(&mrtentry_ptr->source->address.sin6_addr),
                    inet6_fmt(&mrtentry_ptr->group->group.sin6_addr),
                    random_delay);



Home | Main Index | Thread Index | Old Index