]> granicus.if.org Git - strace/commit
tests/btrfs.c: do not print errno in case of fs type mismatch
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 24 May 2016 01:33:08 +0000 (01:33 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 24 May 2016 14:52:27 +0000 (14:52 +0000)
commit9298c66dc028efaa0ffa7f9307b898d38fe2f56a
tree6c3b30f59b4f35c8c757108610e2ff82e1b05d63
parent2447de4ca1e77ffa66bd1368e15776499f8eebe8
tests/btrfs.c: do not print errno in case of fs type mismatch

* tests/btrfs.c (main): Use error_msg_and_fail instead of
perror_msg_and_fail when the fs type of the given directory
is not BTRFS_SUPER_MAGIC.
tests/btrfs.c