]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsck: Improve error message when device name misspelled
authorJan Kara <jack@suse.cz>
Wed, 8 Sep 2010 14:12:08 +0000 (16:12 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 Sep 2010 02:54:58 +0000 (22:54 -0400)
commit32f66cc791f597a3522607b233cefc4f1e673fc1
tree158cadf50f55809ff0f2441cd9cbe1b4427f6508
parentc4b87b8c4ff6f3efff86f96dbef3ed050a712354
e2fsck: Improve error message when device name misspelled

When a device name is misspelled, we output the full text about specifying
alternate superblock. This is slightly misleading because when the device
cannot be open because of ENOENT, this certainly won't help. So just print
that device does not exist and exit.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/unix.c