misc/118555: [patch] iostat -x: a type like bug in output header
Sergey Matveychuk
sem at FreeBSD.org
Tue Dec 11 10:20:04 PST 2007
>Number: 118555
>Category: misc
>Synopsis: [patch] iostat -x: a type like bug in output header
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 11 18:20:03 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Sergey Matveychuk
>Release: all
>Organization:
Yandex LLC
>Environment:
>Description:
ioctl -x shows a header that is not compliant with a man page:
extended device statistics
device r/s w/s kr/s kw/s wait svc_t b
The last field should be %b.
I hope it's a type and our developers know how handle with printf(3)
>How-To-Repeat:
run ioctl -x
>Fix:
Patch attached with submission follows:
--- sys/netinet/ip_fw2.c.orig Thu Aug 23 13:19:37 2007
+++ sys/netinet/ip_fw2.c Thu Aug 23 14:12:49 2007
@@ -1591,7 +1591,8 @@
inet_ntoa_r(da, dst);
}
log(LOG_SECURITY | LOG_DEBUG,
- "%s %s:%u -> %s:%u, %s\n",
+ "ipfw: %d %s %s:%u -> %s:%u, %s\n",
+ parent->rule->rulenum,
"drop session",
src, (args->f_id.src_port),
dst, (args->f_id.dst_port),
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list