btrfs-progs: pass positive errno to strerror in cmd_df()
authorEric Sandeen <sandeen@redhat.com>
Wed, 6 Nov 2013 23:15:50 +0000 (17:15 -0600)
committerChris Mason <chris.mason@fusionio.com>
Thu, 7 Nov 2013 21:10:41 +0000 (16:10 -0500)
commit7e29db9e49f1bb23789f2fa34d0ae2e5608dc551
treeb2900518478b242489366ec149330289e63122bf
parent53e56831b051c36bb229463349c12b407beb2c91
btrfs-progs: pass positive errno to strerror in cmd_df()

get_df returns a negative error number, but then
we pass it to strerror, which wants a positive value...

Resolves-Coverity-CID: 1125929
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
cmds-filesystem.c