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:
parent
e76d4a90c5
commit
00f9af4bf3
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue