From: Theodore Ts'o Date: Tue, 22 Aug 2017 19:40:23 +0000 (-0400) Subject: e2fsck: fix the message printed for the project quota type X-Git-Tag: v1.43.6~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8dafa282e66b2a77b3a7edf57775a8f90619e62c;p=thirdparty%2Fe2fsprogs.git e2fsck: fix the message printed for the project quota type Fix a cut and paste error so print_e2fsck_message() correctly prints the quota type for project quotas. Signed-off-by: Theodore Ts'o Reported-by: Jakub Bogusz --- diff --git a/e2fsck/message.c b/e2fsck/message.c index a44205fc8..5168cdf60 100644 --- a/e2fsck/message.c +++ b/e2fsck/message.c @@ -512,7 +512,7 @@ static _INLINE_ void expand_percent_expression(FILE *f, ext2_filsys fs, m = _("group"); break; case PRJQUOTA: - m = _("group"); + m = _("project"); break; default: m = _("unknown quota type"); diff --git a/tests/f_quota_invalid_inum/expect.1 b/tests/f_quota_invalid_inum/expect.1 index a989f16c1..322ac0911 100644 --- a/tests/f_quota_invalid_inum/expect.1 +++ b/tests/f_quota_invalid_inum/expect.1 @@ -2,7 +2,7 @@ Invalid user quota inode 808464432. Fix? yes Invalid group quota inode 808464432. Fix? yes -Invalid group quota inode 808464432. Fix? yes +Invalid project quota inode 808464432. Fix? yes Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure