summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-03 22:57:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-03 22:57:03 +0000
commit0d7dfaa497114946662835e4f53f90204c688b46 (patch)
tree46f4e2daf282b90c18bc11b5bd122d6f4badcac3 /sbin
parent82ac3e17e37a05343b36630d0d45ea10487bae77 (diff)
KNF
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/pfctl_table.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/sbin/pfctl/pfctl_table.c b/sbin/pfctl/pfctl_table.c
index 8ca004729d0..0572bd35830 100644
--- a/sbin/pfctl/pfctl_table.c
+++ b/sbin/pfctl/pfctl_table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_table.c,v 1.7 2003/01/03 22:54:29 deraadt Exp $ */
+/* $OpenBSD: pfctl_table.c,v 1.8 2003/01/03 22:57:02 deraadt Exp $ */
/*
* Copyright (c) 2002 Cedric Berger
@@ -106,9 +106,12 @@ static char *stats_text[PFR_DIR_MAX][PFR_OP_TABLE_MAX] = {
#define DUMMY ((flags & PFR_FLAG_DUMMY)?" (dummy)":"")
-#define RVTEST(fct) \
- do { int rv = fct; if (rv) \
- { radix_perror(); return (1); } \
+#define RVTEST(fct) do { \
+ int rv = fct; \
+ if (rv) { \
+ radix_perror(); \
+ return (1); \
+ } \
} while (0)
int