commit | 3d7c94cfec7347e663106d2ca9db2b60dc9d8213 | [log] [tgz] |
---|---|---|
author | Sergei Trofimovich <slyfox@gentoo.org> | Sun Aug 28 14:23:24 2011 +0300 |
committer | Chris Mason <chris.mason@oracle.com> | Tue Oct 25 09:18:59 2011 -0400 |
tree | 7159c5fe581a53402f418c5b4b5e670140a3d340 | |
parent | a8b624eae7c358d67a35e847bd25c29f846046f9 [diff] |
btrfsck: decode error properly check_mounted() returns kernel-style negative errors. Patch drops sign for strerror(). Before the patch: check_mounted(): Could not open /dev/sdb2 Could not check mount status: Unknown error 18446744073709551603 After the patch: check_mounted(): Could not open /dev/sdb2 Could not check mount status: Permission denied Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>