summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2002-06-27 10:17:48 +0000
committerhenning <henning@openbsd.org>2002-06-27 10:17:48 +0000
commitc97b4ee101ddc8a8846ed610f2400676a9f5c78f (patch)
tree9ee250f1d51b74e4165c0fc69a497fc1e0d8713c
parent%d -> %u. mostly in #ifdef DEBUG. (diff)
downloadwireguard-openbsd-c97b4ee101ddc8a8846ed610f2400676a9f5c78f.tar.xz
wireguard-openbsd-c97b4ee101ddc8a8846ed610f2400676a9f5c78f.zip
repair formatting - the new "enabled since" format is longer than the old
one and thus the field lengths need to be adjusted. ok dhartmei@, pb@
-rw-r--r--sbin/pfctl/pfctl_parser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
index 35c0027b294..4911860e254 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.c,v 1.90 2002/06/19 17:44:02 dhartmei Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.91 2002/06/27 10:17:48 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -565,16 +565,16 @@ print_status(struct pf_status *s)
day, hrs, min, sec);
} else
snprintf(statline, sizeof(statline), "Status: Disabled");
- printf("%-34s", statline);
+ printf("%-44s", statline);
switch (s->debug) {
case 0:
- printf("%25s\n\n", "Debug: None");
+ printf("%15s\n\n", "Debug: None");
break;
case 1:
- printf("%25s\n\n", "Debug: Urgent");
+ printf("%15s\n\n", "Debug: Urgent");
break;
case 2:
- printf("%25s\n\n", "Debug: Misc");
+ printf("%15s\n\n", "Debug: Misc");
break;
}
if (s->ifname[0] != 0) {