Skip to content

Commit

Permalink
cramfs: Fix typo in inode.c
Browse files Browse the repository at this point in the history
Correct spelling "endianess" to "endianness" in
fs/cramfs/inode.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Masanari Iida authored and Jiri Kosina committed Feb 21, 2012
1 parent 7d65fd7 commit 0cc785e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/cramfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@ static int cramfs_fill_super(struct super_block *sb, void *data, int silent)

/* Do sanity checks on the superblock */
if (super.magic != CRAMFS_MAGIC) {
/* check for wrong endianess */
/* check for wrong endianness */
if (super.magic == CRAMFS_MAGIC_WEND) {
if (!silent)
printk(KERN_ERR "cramfs: wrong endianess\n");
printk(KERN_ERR "cramfs: wrong endianness\n");
goto out;
}

Expand All @@ -270,7 +270,7 @@ static int cramfs_fill_super(struct super_block *sb, void *data, int silent)
mutex_unlock(&read_mutex);
if (super.magic != CRAMFS_MAGIC) {
if (super.magic == CRAMFS_MAGIC_WEND && !silent)
printk(KERN_ERR "cramfs: wrong endianess\n");
printk(KERN_ERR "cramfs: wrong endianness\n");
else if (!silent)
printk(KERN_ERR "cramfs: wrong magic\n");
goto out;
Expand Down

0 comments on commit 0cc785e

Please sign in to comment.