[Cluster-devel] [PATCH] Fix spelling errors spotted by lintian

Valentin Vidic Valentin.Vidic at CARNet.hr
Wed Apr 4 22:09:15 UTC 2018


inconsistant -> inconsistent
filesytem -> filesystem
hexidecimal -> hexadecimal
---
 gfs2/convert/gfs2_convert.c | 2 +-
 gfs2/fsck/metawalk.c        | 2 +-
 gfs2/man/gfs2_edit.8        | 4 ++--
 po/gfs2-utils.pot           | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gfs2/convert/gfs2_convert.c b/gfs2/convert/gfs2_convert.c
index eac907cd..9cf97b65 100644
--- a/gfs2/convert/gfs2_convert.c
+++ b/gfs2/convert/gfs2_convert.c
@@ -2175,7 +2175,7 @@ int main(int argc, char **argv)
 	 */
 	if (!error) {
 		if (sanity_check(&sb2)) {
-			log_crit(_("%s is not a clean gfs filesytem. Please use the"
+			log_crit(_("%s is not a clean gfs filesystem. Please use the"
 				   " fsck.gfs2 utility to correct these errors and"
 				   " try again.\n"), opts.device);
 			exit(0);
diff --git a/gfs2/fsck/metawalk.c b/gfs2/fsck/metawalk.c
index 127edaa2..a7780d78 100644
--- a/gfs2/fsck/metawalk.c
+++ b/gfs2/fsck/metawalk.c
@@ -641,7 +641,7 @@ int check_leaf(struct gfs2_inode *ip, int lindex, struct metawalk_fxns *pass,
 				log_warn( _("Leaf entry count updated\n"));
 			} else
 				log_err( _("Leaf entry count left in "
-					   "inconsistant state\n"));
+					   "inconsistent state\n"));
 		}
 	}
 out:
diff --git a/gfs2/man/gfs2_edit.8 b/gfs2/man/gfs2_edit.8
index 0b3528de..1a5ccacc 100644
--- a/gfs2/man/gfs2_edit.8
+++ b/gfs2/man/gfs2_edit.8
@@ -402,13 +402,13 @@ May produce this output:
 
 .TP
 gfs2_edit -x -p 25 field di_size /dev/roth_vg/roth_lv
-Print the di_size field of block 25, in hexidecimal.
+Print the di_size field of block 25, in hexadecimal.
 May produce this output:
 0x8000000
 
 .TP
 gfs2_edit -p 25 field di_size 0x4000 /dev/roth_vg/roth_lv
-Change the di_size field of block 25 to the hexidecimal value 0x4000.
+Change the di_size field of block 25 to the hexadecimal value 0x4000.
 May produce this output:
 16384
 .SH KNOWN BUGS
diff --git a/po/gfs2-utils.pot b/po/gfs2-utils.pot
index 78916842..66325a9e 100644
--- a/po/gfs2-utils.pot
+++ b/po/gfs2-utils.pot
@@ -1125,7 +1125,7 @@ msgstr ""
 #: gfs2/convert/gfs2_convert.c:2176
 #, c-format
 msgid ""
-"%s is not a clean gfs filesytem. Please use the fsck.gfs2 utility to correct "
+"%s is not a clean gfs filesystem. Please use the fsck.gfs2 utility to correct "
 "these errors and try again.\n"
 msgstr ""
 
@@ -3196,7 +3196,7 @@ msgid "Leaf entry count updated\n"
 msgstr ""
 
 #: gfs2/fsck/metawalk.c:640
-msgid "Leaf entry count left in inconsistant state\n"
+msgid "Leaf entry count left in inconsistent state\n"
 msgstr ""
 
 #: gfs2/fsck/metawalk.c:646
-- 
2.17.0




More information about the Cluster-devel mailing list