Whamcloud - gitweb
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 a44205f..5168cdf 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 a989f16..322ac09 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