summaryrefslogtreecommitdiff
path: root/misc/badblocks.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2000-02-08 20:29:44 +0000
committerTheodore Ts'o <tytso@mit.edu>2000-02-08 20:29:44 +0000
commit8f5c0f66ca343ec4689470e5941aa3066ed062bb (patch)
tree82bc3975f7ae85463f7dc56f60e2312e545d3979 /misc/badblocks.c
parent5bc5a89c2a5c07b0237c13d37d869c986b5435fb (diff)
downloade2fsprogs-8f5c0f66ca343ec4689470e5941aa3066ed062bb.tar.gz
badblocks.c:
Fix I18N compilation bug.
Diffstat (limited to 'misc/badblocks.c')
-rw-r--r--misc/badblocks.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/badblocks.c b/misc/badblocks.c
index 6057115e..1a47984b 100644
--- a/misc/badblocks.c
+++ b/misc/badblocks.c
@@ -55,7 +55,7 @@
#include "nls-enable.h"
const char * program_name = "badblocks";
-const char * done_string = _("done \n");
+const char * done_string = N_("done \n");
int v_flag = 0; /* verbose */
int w_flag = 0; /* do r/w test: 0=no, 1=yes, 2=non-destructive */
@@ -288,7 +288,7 @@ static unsigned int test_ro (int dev, unsigned long blocks_count,
num_blocks = 0;
alarm(0);
if (s_flag || v_flag > 1)
- fprintf(stderr, done_string);
+ fprintf(stderr, _(done_string));
fflush (stderr);
free (blkbuf);
@@ -348,7 +348,7 @@ static unsigned int test_rw (int dev, unsigned long blocks_count,
num_blocks = 0;
alarm (0);
if (s_flag | v_flag)
- fprintf(stderr, done_string);
+ fprintf(stderr, _(done_string));
flush_bufs (dev, 1);
if (s_flag | v_flag)
fprintf (stderr, _("Reading and comparing: "));
@@ -376,7 +376,7 @@ static unsigned int test_rw (int dev, unsigned long blocks_count,
num_blocks = 0;
alarm (0);
if (s_flag | v_flag)
- fprintf(stderr, done_string);
+ fprintf(stderr, _(done_string));
flush_bufs (dev, 0);
}
@@ -560,7 +560,7 @@ static unsigned int test_nd (int dev, unsigned long blocks_count,
num_blocks = 0;
alarm(0);
if (s_flag || v_flag > 1)
- fprintf(stderr, done_string);
+ fprintf(stderr, _(done_string));
} else {
/* abnormal termination by a signal is handled here */