Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/npf/npfctl fix build failure -- correct printf sizes



details:   https://anonhg.NetBSD.org/src/rev/e3ff3c16d782
branches:  trunk
changeset: 757280:e3ff3c16d782
user:      jnemeth <jnemeth%NetBSD.org@localhost>
date:      Mon Aug 23 06:01:04 2010 +0000

description:
fix build failure -- correct printf sizes

diffstat:

 usr.sbin/npf/npfctl/npf_data.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0fc28c9ad800 -r e3ff3c16d782 usr.sbin/npf/npfctl/npf_data.c
--- a/usr.sbin/npf/npfctl/npf_data.c    Mon Aug 23 02:57:19 2010 +0000
+++ b/usr.sbin/npf/npfctl/npf_data.c    Mon Aug 23 06:01:04 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_data.c,v 1.1 2010/08/22 18:56:23 rmind Exp $       */
+/*     $NetBSD: npf_data.c,v 1.2 2010/08/23 06:01:04 jnemeth Exp $     */
 
 /*-
  * Copyright (c) 2009-2010 The NetBSD Foundation, Inc.
@@ -517,7 +517,7 @@
        npfctl_gennc_complete(&nc);
 
        if ((uintptr_t)nc - (uintptr_t)ncptr != sz)
-               errx(EXIT_FAILURE, "n-code size got wrong (%lu != %lu)",
+               errx(EXIT_FAILURE, "n-code size got wrong (%tu != %zu)",
                    (uintptr_t)nc - (uintptr_t)ncptr, sz);
 
 #ifdef DEBUG



Home | Main Index | Thread Index | Old Index