diff options
author | Thomas Jarosch <tomj@simonv.com> | 2011-08-25 20:38:27 +0000 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2011-08-25 20:38:27 +0000 |
commit | 51ae2e6ffcb6e0f5fbecb1ec6af207be70d5701a (patch) | |
tree | 009892c2e8a6f5c7a3080574e2c882c4e1efc827 | |
parent | e412227abbd885ae3736080b000457be69e46afc (diff) | |
download | rockbox-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
-rw-r--r-- | utils/MTP/beastpatcher/mknkboot.c | 1 |
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[]) | |||
254 | if (fdboot < 0) | 254 | if (fdboot < 0) |
255 | { | 255 | { |
256 | perror(bootfile); | 256 | perror(bootfile); |
257 | close(fdin); | ||
258 | result = 3; | 257 | result = 3; |
259 | goto quit; | 258 | goto quit; |
260 | } | 259 | } |