Date: Thu, 11 Sep 2008 09:55:54 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/iostat iostat.c Message-ID: <200809110956.m8B9u3qN027280@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
adrian 2008-09-11 09:55:54 UTC FreeBSD src repository Modified files: usr.sbin/iostat iostat.c Log: SVN rev 182927 on 2008-09-11 09:55:54Z by adrian Fix the device name spacing. The old logic padded the device name out but assumed the unit number was one digit long; this fails for things like SATA devices which (for me) begin at ad10. Assemble the full device name in a temporary buffer and then calcluate padding based on that string. Revision Changes Path 1.43 +5 -5 src/usr.sbin/iostat/iostat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809110956.m8B9u3qN027280>