Fix extfs filesystem typo.
This commit is contained in:
parent
e76d4a90c5
commit
00f9af4bf3
|
@ -1376,14 +1376,14 @@ int main(int argc, char* argv[])
|
||||||
if ( probe )
|
if ( probe )
|
||||||
exit(1);
|
exit(1);
|
||||||
else if ( errno == EEOF )
|
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
|
else
|
||||||
error(1, errno, "read: `%s'", device_path);
|
error(1, errno, "read: `%s'", device_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verify the magic value to detect a compatible filesystem.
|
// Verify the magic value to detect a compatible filesystem.
|
||||||
if ( !probe && sb.s_magic != EXT2_SUPER_MAGIC )
|
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 )
|
if ( probe && sb.s_magic != EXT2_SUPER_MAGIC )
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Reference in New Issue