projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs-progs: don't call close on error fd
[platform/upstream/btrfs-progs.git]
/
btrfs-show-super.c
diff --git
a/btrfs-show-super.c
b/btrfs-show-super.c
index
3614c52
..
f587f10
100644
(file)
--- a/
btrfs-show-super.c
+++ b/
btrfs-show-super.c
@@
-97,7
+97,6
@@
int main(int argc, char **argv)
fd = open(filename, O_RDONLY, 0666);
if (fd < 0) {
fprintf(stderr, "Could not open %s\n", filename);
- close(fd);
exit(1);
}