Source-Changes-HG archive

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

[src/trunk]: src/dist/ipf/tools The type of iplf_count is u_int, not size_t, ...



details:   https://anonhg.NetBSD.org/src/rev/3655bc574ae7
branches:  trunk
changeset: 746801:3655bc574ae7
user:      he <he%NetBSD.org@localhost>
date:      Thu Aug 20 08:12:05 2009 +0000

description:
The type of iplf_count is u_int, not size_t, so print with %u, not %zu.

diffstat:

 dist/ipf/tools/ippool.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 33ef84b53a91 -r 3655bc574ae7 dist/ipf/tools/ippool.c
--- a/dist/ipf/tools/ippool.c   Thu Aug 20 06:36:25 2009 +0000
+++ b/dist/ipf/tools/ippool.c   Thu Aug 20 08:12:05 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ippool.c,v 1.6 2008/05/20 07:08:07 darrenr Exp $       */
+/*     $NetBSD: ippool.c,v 1.7 2009/08/20 08:12:05 he Exp $    */
 
 /*
  * Copyright (C) 2002-2006 by Darren Reed.
@@ -499,7 +499,7 @@
                }
 
        }
-       printf("%zu object%s flushed\n", flush.iplf_count,
+       printf("%u object%s flushed\n", flush.iplf_count,
               (flush.iplf_count == 1) ? "" : "s");
 
        return 0;



Home | Main Index | Thread Index | Old Index