summaryrefslogtreecommitdiffstats
path: root/usr.sbin/iostat
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-10-29 13:44:58 +0000
committerjhb <jhb@FreeBSD.org>2009-10-29 13:44:58 +0000
commitde0cdbf89c7befff1842227b98ea74697bf0b37b (patch)
treec6a941b890308ac677d9ee423ec805e5c8b2b558 /usr.sbin/iostat
parent383492da7df143e4191f871c6f864dd9b5ab406f (diff)
downloadFreeBSD-src-de0cdbf89c7befff1842227b98ea74697bf0b37b.zip
FreeBSD-src-de0cdbf89c7befff1842227b98ea74697bf0b37b.tar.gz
When extracting the capture buffer from a crashdump, only read the valid
portion of the capture buffer (db_capture_bufoff vs db_capture_bufsize). This could result in outputting garbage (e.g. lots of 'p' characters if DIAGNOSTIC is enabled) after the end of the capture buffer. While here, fix a spelling nit. Reported by: Mikolaj Golub to my trociny of gmail MFC after: 3 days
Diffstat (limited to 'usr.sbin/iostat')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud