summaryrefslogtreecommitdiffstats
path: root/utils/MTP
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-08-25 20:38:27 +0000
committerThomas Jarosch <tomj@simonv.com>2011-08-25 20:38:27 +0000
commit51ae2e6ffcb6e0f5fbecb1ec6af207be70d5701a (patch)
tree009892c2e8a6f5c7a3080574e2c882c4e1efc827 /utils/MTP
parente412227abbd885ae3736080b000457be69e46afc (diff)
downloadrockbox-51ae2e6ffcb6e0f5fbecb1ec6af207be70d5701a.tar.gz
rockbox-51ae2e6ffcb6e0f5fbecb1ec6af207be70d5701a.zip
Don't close file descriptor twice
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30352 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/MTP')
-rw-r--r--utils/MTP/beastpatcher/mknkboot.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/MTP/beastpatcher/mknkboot.c b/utils/MTP/beastpatcher/mknkboot.c
index 6ac26428bc..9cc58d552c 100644
--- a/utils/MTP/beastpatcher/mknkboot.c
+++ b/utils/MTP/beastpatcher/mknkboot.c
@@ -254,7 +254,6 @@ int main(int argc, char* argv[])
if (fdboot < 0)
{
perror(bootfile);
- close(fdin);
result = 3;
goto quit;
}