Whamcloud - gitweb
badblocks: Fix progress output for "badblocks -sw /dev/XXX"
authorTheodore Ts'o <tytso@mit.edu>
Thu, 2 Oct 2008 00:00:54 +0000 (20:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 2 Oct 2008 00:00:54 +0000 (20:00 -0400)
commit42e572b5b6aa71a567219265686c90eabff3fc31
treea4cddab17f4daee951b6b3efc6a88e3a219dddbd
parentc59776306c7e6e7aca2d1442a0cf1bc08c647944
badblocks: Fix progress output for "badblocks -sw /dev/XXX"

Always initialize the starting time so that badblocks -sw works.
Thanks Jelle de Jong (jelledejong at powercraft.nl) for reporting this
bug.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/badblocks.c