summaryrefslogtreecommitdiffstats
path: root/contrib/bind9/lib/bind/irs/gen.c
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2005-03-17 08:04:02 +0000
committerdougb <dougb@FreeBSD.org>2005-03-17 08:04:02 +0000
commit6c00746d362144ea66eb0e93ad2dca75df176135 (patch)
tree56538def4af42f6875185c84274a942bf33b5d24 /contrib/bind9/lib/bind/irs/gen.c
parent46172d5768cf5570203b7b39866b786fec8be024 (diff)
downloadFreeBSD-src-6c00746d362144ea66eb0e93ad2dca75df176135.zip
FreeBSD-src-6c00746d362144ea66eb0e93ad2dca75df176135.tar.gz
Vendor import of BIND 9.3.1
Diffstat (limited to 'contrib/bind9/lib/bind/irs/gen.c')
-rw-r--r--contrib/bind9/lib/bind/irs/gen.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/bind9/lib/bind/irs/gen.c b/contrib/bind9/lib/bind/irs/gen.c
index 5317821..e093db3 100644
--- a/contrib/bind9/lib/bind/irs/gen.c
+++ b/contrib/bind9/lib/bind/irs/gen.c
@@ -16,7 +16,7 @@
*/
#if !defined(LINT) && !defined(CODECENTER)
-static const char rcsid[] = "$Id: gen.c,v 1.3.206.2 2004/03/17 00:29:48 marka Exp $";
+static const char rcsid[] = "$Id: gen.c,v 1.3.206.3 2004/09/16 00:57:34 marka Exp $";
#endif
/*
@@ -391,8 +391,10 @@ init_map_rules(struct gen_p *irs, const char *conf_file) {
default_map_rules(irs);
return;
}
- (void) sprintf(pattern, "%%%ds %%%ds %%%ds\n",
- sizeof mapname, sizeof accname, sizeof options);
+ (void) sprintf(pattern, "%%%lus %%%lus %%%lus\n",
+ (unsigned long)sizeof mapname,
+ (unsigned long)sizeof accname,
+ (unsigned long)sizeof options);
while (fgets(line, sizeof line, conf)) {
enum irs_map_id map;
enum irs_acc_id acc;
OpenPOWER on IntegriCloud