btrfs-progs: don't call close on error fd
authorEric Sandeen <sandeen@redhat.com>
Mon, 25 Feb 2013 22:54:43 +0000 (16:54 -0600)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 Feb 2013 13:39:45 +0000 (14:39 +0100)
commitb5acfa282b52b583d0648abc35eef8329014dd84
tree4bafb32ffe192b2028a99269ddb1dc81dfa048dc
parent2e23e290cab6182e60e65f5eea1c07b66c077ec9
btrfs-progs: don't call close on error fd

In the error case where fd < 0, close(fd) is the wrong
thing to do.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
btrfs-show-super.c