btrfs-progs: make sure that is_block_device will return only 0/1
authorDavid Sterba <dsterba@suse.com>
Fri, 25 Sep 2015 15:59:43 +0000 (17:59 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 2 Oct 2015 15:54:26 +0000 (17:54 +0200)
commit5e561cef1d51e6fc6b52460f70b9bca5d4b3ed03
treeb1ab9f8d9376add2f0fc834435e2cde72ce653e1
parentece0e1ea036e6d1c952f304ff74762a12786c37f
btrfs-progs: make sure that is_block_device will return only 0/1

The macro return nonzero, we'll test against 0/1 (or < 0).

Signed-off-by: David Sterba <dsterba@suse.com>
utils.c