From: Andreas Dilger Date: Sat, 4 Aug 2001 07:47:01 +0000 (-0600) Subject: Change comments for %D and %d expansion in e2fsck problem codes. It X-Git-Tag: E2FSPROGS-1_23~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcdebce7dff25a18f821c4deeb14e4a66db790df;p=thirdparty%2Fe2fsprogs.git Change comments for %D and %d expansion in e2fsck problem codes. It was not consistent which was for dirent expansion, and which was for directory number expansion. --- diff --git a/e2fsck/message.c b/e2fsck/message.c index 2c7e77113..3428e30e5 100644 --- a/e2fsck/message.c +++ b/e2fsck/message.c @@ -16,12 +16,12 @@ * %b block number * %B integer * %c block number - * %di ->ino inode number - * %dn ->name string - * %dr ->rec_len - * %dl ->name_len - * %dt ->filetype - * %D inode number + * %Di ->ino inode number + * %Dn ->name string + * %Dr ->rec_len + * %Dl ->name_len + * %Dt ->filetype + * %d inode number * %g integer * %i inode number * %Is -> i_size diff --git a/e2fsck/problem.c b/e2fsck/problem.c index 34f4e9d4a..b60a8f5c2 100644 --- a/e2fsck/problem.c +++ b/e2fsck/problem.c @@ -858,7 +858,7 @@ static const struct e2fsck_problem problem_table[] = { /* Final rec_len is wrong */ { PR_2_FINAL_RECLEN, - N_("@E has rec_len of %dr, should be %N.\n"), + N_("@E has rec_len of %Dr, should be %N.\n"), PROMPT_FIX, 0 }, /* Error allocating icount structure */ @@ -913,7 +913,7 @@ static const struct e2fsck_problem problem_table[] = { /* Directory filetype incorrect */ { PR_2_BAD_FILETYPE, - N_("@E has an incorrect filetype (was %dt, should be %N).\n"), + N_("@E has an incorrect filetype (was %Dt, should be %N).\n"), PROMPT_FIX, 0 }, /* Directory filetype set on filesystem */