summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-10-28 15:05:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-10-28 15:05:36 +0000
commit1c7e9cb2b955c182b64113bb3393dea2ebd94212 (patch)
tree280915197a86347d71b40c2d59acf4ffb81a5927 /sbin/pfctl
parent29950e68ba62c0161f7c7354372b8f0250503d15 (diff)
use %d instead of %i in a few fprintf for clarity
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/pfctl_parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
index 91267746272..3f9243fc09f 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.c,v 1.295 2013/10/12 12:16:12 henning Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.296 2013/10/28 15:05:35 deraadt Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -783,9 +783,9 @@ print_rule(struct pf_rule *r, const char *anchor_call, int opts)
}
if (r->onrdomain >= 0) {
if (r->ifnot)
- printf(" on ! rdomain %i", r->onrdomain);
+ printf(" on ! rdomain %d", r->onrdomain);
else
- printf(" on rdomain %i", r->onrdomain);
+ printf(" on rdomain %d", r->onrdomain);
}
if (r->af) {
if (r->af == AF_INET)