1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix extfs filesystem typo.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-01-16 01:15:07 +01:00
parent e76d4a90c5
commit 00f9af4bf3

View file

@ -1376,14 +1376,14 @@ int main(int argc, char* argv[])
if ( probe )
exit(1);
else if ( errno == EEOF )
error(1, 0, "`%s' isn't a valid extended filecsysten", device_path);
error(1, 0, "`%s' isn't a valid extended filesystem", device_path);
else
error(1, errno, "read: `%s'", device_path);
}
// Verify the magic value to detect a compatible filesystem.
if ( !probe && sb.s_magic != EXT2_SUPER_MAGIC )
error(1, 0, "`%s' isn't a valid extended filecsysten", device_path);
error(1, 0, "`%s' isn't a valid extended filesystem", device_path);
if ( probe && sb.s_magic != EXT2_SUPER_MAGIC )
exit(1);