Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netipsec fix printf format.



details:   https://anonhg.NetBSD.org/src/rev/80d0c7dd743a
branches:  trunk
changeset: 355165:80d0c7dd743a
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jul 15 22:48:32 2017 +0000

description:
fix printf format.

diffstat:

 sys/netipsec/key.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2b92a098feb7 -r 80d0c7dd743a sys/netipsec/key.c
--- a/sys/netipsec/key.c        Sat Jul 15 18:52:21 2017 +0000
+++ b/sys/netipsec/key.c        Sat Jul 15 22:48:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: key.c,v 1.184 2017/07/14 12:26:26 ozaki-r Exp $        */
+/*     $NetBSD: key.c,v 1.185 2017/07/15 22:48:32 christos Exp $       */
 /*     $FreeBSD: src/sys/netipsec/key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $        */
 /*     $KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $   */
 
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.184 2017/07/14 12:26:26 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.185 2017/07/15 22:48:32 christos Exp $");
 
 /*
  * This code is referd to RFC 2367
@@ -1199,7 +1199,7 @@
                        KDASSERTMSG(sav->lft_c->sadb_lifetime_addtime <=
                            next->lft_c->sadb_lifetime_addtime,
                            "savlist is not sorted: sah=%p, state=%d, "
-                           "sav=%lu, next=%lu", sah, state,
+                           "sav=%" PRIu64 ", next=%" PRIu64, sah, state,
                            sav->lft_c->sadb_lifetime_addtime,
                            next->lft_c->sadb_lifetime_addtime);
                }



Home | Main Index | Thread Index | Old Index