summaryrefslogtreecommitdiff
path: root/cmds-restore.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2013-02-25 16:54:43 -0600
committerDavid Sterba <dsterba@suse.cz>2013-02-27 14:39:45 +0100
commitb5acfa282b52b583d0648abc35eef8329014dd84 (patch)
tree4bafb32ffe192b2028a99269ddb1dc81dfa048dc /cmds-restore.c
parent2e23e290cab6182e60e65f5eea1c07b66c077ec9 (diff)
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>
Diffstat (limited to 'cmds-restore.c')
0 files changed, 0 insertions, 0 deletions