]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
e2fsck: fix the message printed for the project quota type
authorTheodore Ts'o <tytso@mit.edu>
Tue, 22 Aug 2017 19:40:23 +0000 (15:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 22 Aug 2017 19:40:23 +0000 (15:40 -0400)
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>
e2fsck/message.c
tests/f_quota_invalid_inum/expect.1

index a44205fc8476ff24eec905966c109205bee74bcc..5168cdf6070d61bd0f9001534f938c43bccec2f6 100644 (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");
index a989f16c1d2ad4d93b10134913b7d5f3dfff8547..322ac09117d85cf3d518f63266e0b1fc6a74edff 100644 (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