Whamcloud - gitweb
Fix display bug in badblocks -w
authorTheodore Ts'o <tytso@mit.edu>
Sat, 24 Sep 2005 22:28:00 +0000 (18:28 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 24 Sep 2005 22:28:00 +0000 (18:28 -0400)
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>
misc/ChangeLog
misc/badblocks.c

index 17d69fc..82e33b4 100644 (file)
@@ -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
index e82648f..2e83133 100644 (file)
@@ -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,