mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2025-01-24 17:33:28 +08:00
problem.c (fix_problem): Don't call print_e2fsck_message if the
message is empty; otherwise, the NLS substitution will print the .po header, which is Just Wrong.
This commit is contained in:
parent
3c203cb683
commit
489f00248f
@ -1,3 +1,9 @@
|
||||
2004-01-31 Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
* problem.c (fix_problem): Don't call print_e2fsck_message if the
|
||||
message is empty; otherwise, the NLS substitution will
|
||||
print the .po header, which is Just Wrong.
|
||||
|
||||
2004-01-30 Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
* pass2.c (deallocate_inode_block): Check to make sure the block
|
||||
|
@ -1558,7 +1558,8 @@ int fix_problem(e2fsck_t ctx, problem_t code, struct problem_context *pctx)
|
||||
printf("%s: ", ctx->device_name ?
|
||||
ctx->device_name : ctx->filesystem_name);
|
||||
}
|
||||
print_e2fsck_message(ctx, _(message), pctx, 1);
|
||||
if (*message)
|
||||
print_e2fsck_message(ctx, _(message), pctx, 1);
|
||||
}
|
||||
if (!(ptr->flags & PR_PREEN_OK) && (ptr->prompt != PROMPT_NONE))
|
||||
preenhalt(ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user