fsck: Merge strings
PATCH 1/1 fsck: Merge strings
This patch just change some log_error calls in a way the strings can be merged during the i18n translations, removing the amount of duplicated work to translators
Signed-off-by Carlos Maiolino <[email protected]>
--- gfs2/fsck/fs_recovery.c | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-)
gfs2/fsck/fs_recovery.c +5 -7
@@ -456,9 +456,8 @@ static int gfs2_recover_journal(struct gfs2_inode *ip, int j, int preen, error =gfs2_find_jhead (ip, &head);if (error) {if (opts.no) { -log_err (_ ("Journal #%d (\"journal%d\") is corrupt.\n" -"Not fixing it due to the -n option.\n" ), - j+1 , j); +log_err (_ ("Journal #%d (\"journal%d\") is corrupt\n" ),j+1 , j); +log_err (_ ("Not fixing it due to the -n option.\n" )); goto out; }if (!preen_is_safe (sdp, preen, force_check)) {
@@ -501,13 +500,12 @@ static int gfs2_recover_journal(struct gfs2_inode *ip, int j, int preen,return 0 ; }if (opts.no) { -log_err (_ ("Journal #%d (\"journal%d\") is dirty; not replaying" -" due to the -n option.\n" ), - j+1 , j); +log_err (_ ("Journal #%d (\"journal%d\") is dirty\n" ),j+1 , j); +log_err (_ ("not replaying due to the -n option.\n" )); goto out; }if (!preen_is_safe (sdp, preen, force_check)) { -log_err (_ ("Journal #%d (\"journal%d\") is dirty.\n" ), j+1 , j); +log_err (_ ("Journal #%d (\"journal%d\") is dirty\n" ), j+1 , j);log_err (_ ("I'm not replaying it because it may be unsafe:\n" "Locking protocol is not lock_nolock and " "the -a or -p option was specified.\n" ));
Signature · 1 line
1.7.6.4