]> err.no Git - util-linux/commit
fsck.minix: correct the error message given when we can't open the device
authorJames Youngman <jay@gnu.org>
Sun, 6 Apr 2008 10:45:57 +0000 (11:45 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 7 Apr 2008 23:42:36 +0000 (01:42 +0200)
commitbb98388557c7e68067b103c6654baa6a1614b392
treec539b0924bc852ec04bb9e19dc0045abaee0b38d
parent8ce2449daf5d846a50ecc9342f929998524baa86
fsck.minix: correct the error message given when we can't open the device

Don't actually print %s in the error message, print the device name,
as was obviously intended.  Also, print the error message
corresponding to the errno value.

[kzak@redhat.com: add __attribute__, coding style cleanups]
Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fsck.minix.c