Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/ipf/netinet Fix printf format



details:   https://anonhg.NetBSD.org/src/rev/5c1a06ee2edb
branches:  trunk
changeset: 780398:5c1a06ee2edb
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jul 22 17:48:53 2012 +0000

description:
Fix printf format

diffstat:

 sys/external/bsd/ipf/netinet/ip_sync.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5a3d4e62c552 -r 5c1a06ee2edb sys/external/bsd/ipf/netinet/ip_sync.c
--- a/sys/external/bsd/ipf/netinet/ip_sync.c    Sun Jul 22 17:40:46 2012 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_sync.c    Sun Jul 22 17:48:53 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_sync.c,v 1.3 2012/07/22 14:27:51 darrenr Exp $      */
+/*     $NetBSD: ip_sync.c,v 1.4 2012/07/22 17:48:53 martin Exp $       */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -100,7 +100,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_sync.c,v 1.3 2012/07/22 14:27:51 darrenr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_sync.c,v 1.4 2012/07/22 17:48:53 martin Exp $");
 #else
 static const char rcsid[] = "@(#)Id: ip_sync.c,v 1.1.1.2 2012/07/22 13:45:38 darrenr Exp";
 #endif
@@ -550,7 +550,7 @@
                } else {
                        /* insufficient data, wait until next call */
                        if (softs->ipf_sync_debug > 2)
-                               printf("uiomove(data) %s %d bytes, got %zu\n",
+                               printf("uiomove(data) %s %d bytes, got %d\n",
                                        "insufficient data, need",
                                        sh.sm_len, (int)uio->uio_resid);
                        IPFERROR(110007);



Home | Main Index | Thread Index | Old Index