From 5f51d1c1eb87066ca3407297b2e0490dd9a341f0 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 24 Sep 2005 18:28:00 -0400 Subject: [PATCH] Fix display bug in badblocks -w Add extra spaces when printing the "done" message to clear out the block number to fix a display corruption when the -s option is used to display the progress of the test. (Addresses Debian Bug #322231) Signed-off-by: "Theodore Ts'o" --- misc/ChangeLog | 7 +++++++ misc/badblocks.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/misc/ChangeLog b/misc/ChangeLog index 17d69fc..82e33b4 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,10 @@ +2005-09-24 Theodore Ts'o + + * badblocks.c: Add extra spaces when printing the "done" message + to clear out the block number to fix a display corruption + when the -s option is used to display the progress of the + test. (Addresses Debian Bug #322231) + 2005-07-05 Theodore Ts'o * tune2fs.c, mke2fs.c: Allow fractional percentages when diff --git a/misc/badblocks.c b/misc/badblocks.c index e82648f..2e83133 100644 --- a/misc/badblocks.c +++ b/misc/badblocks.c @@ -57,7 +57,7 @@ extern int optind; #include "nls-enable.h" const char * program_name = "badblocks"; -const char * done_string = N_("done \n"); +const char * done_string = N_("done \n"); static int v_flag = 0; /* verbose */ static int w_flag = 0; /* do r/w test: 0=no, 1=yes, -- 1.8.3.1