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 <tytso@mit.edu>
Reported-by: Jakub Bogusz <qboosh@pld-linux.org>
This commit is contained in:
Theodore Ts'o 2017-08-22 15:40:23 -04:00
parent e84a4a6111
commit 8dafa282e6
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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