summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-02-06 22:48:30 +0000
committerDave Chapman <dave@dchapman.com>2007-02-06 22:48:30 +0000
commitdd50c863e60488662dee8f28f7292389ade42bac (patch)
treeb9605f0dad77309e79cb96fb3b06a366f4a91901 /tools
parent2882b26a996839f09956fa59617c63f2c3abac72 (diff)
downloadrockbox-dd50c863e60488662dee8f28f7292389ade42bac.tar.gz
rockbox-dd50c863e60488662dee8f28f7292389ade42bac.tar.bz2
rockbox-dd50c863e60488662dee8f28f7292389ade42bac.zip
Oops, we should close the devices during the scan
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12217 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r--tools/ipodpatcher/ipodpatcher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ipodpatcher/ipodpatcher.c b/tools/ipodpatcher/ipodpatcher.c
index 38b13de2a2..bcabe43fc8 100644
--- a/tools/ipodpatcher/ipodpatcher.c
+++ b/tools/ipodpatcher/ipodpatcher.c
@@ -1265,6 +1265,7 @@ int ipod_scan(struct ipod_t* ipod)
}
n++;
strcpy(last_ipod,ipod->diskname);
+ ipod_close(ipod);
}
if (n==0) {