aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2005-09-24 18:28:00 -0400
committerTheodore Ts'o <tytso@mit.edu>2005-09-24 18:28:00 -0400
commit5f51d1c1eb87066ca3407297b2e0490dd9a341f0 (patch)
treee0ed609f17a4244a023ca446d7324008c110273b
parent2f79e5193fa14bb338f14e07c3c96070092b6e8a (diff)
downloade2fsprogs-5f51d1c1eb87066ca3407297b2e0490dd9a341f0.tar.gz
e2fsprogs-5f51d1c1eb87066ca3407297b2e0490dd9a341f0.tar.xz
e2fsprogs-5f51d1c1eb87066ca3407297b2e0490dd9a341f0.zip
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" <tytso@mit.edu>
-rw-r--r--misc/ChangeLog7
-rw-r--r--misc/badblocks.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/misc/ChangeLog b/misc/ChangeLog
index 17d69fcc..82e33b4f 100644
--- a/misc/ChangeLog
+++ b/misc/ChangeLog
@@ -1,3 +1,10 @@
+2005-09-24 Theodore Ts'o <tytso@mit.edu>
+
+ * 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 <tytso@mit.edu>
* tune2fs.c, mke2fs.c: Allow fractional percentages when
diff --git a/misc/badblocks.c b/misc/badblocks.c
index e82648f1..2e831332 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,