Module Name: src
Committed By: jnemeth
Date: Mon Aug 23 06:01:04 UTC 2010
Modified Files:
src/usr.sbin/npf/npfctl: npf_data.c
Log Message:
fix build failure -- correct printf sizes
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/npf/npfctl/npf_data.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/npf/npfctl/npf_data.c
diff -u src/usr.sbin/npf/npfctl/npf_data.c:1.1 src/usr.sbin/npf/npfctl/npf_data.c:1.2
--- src/usr.sbin/npf/npfctl/npf_data.c:1.1 Sun Aug 22 18:56:23 2010
+++ src/usr.sbin/npf/npfctl/npf_data.c Mon Aug 23 06:01:04 2010
@@ -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