diff --git a/sortdir.c b/sortdir.c index 9471db9..c9d6da9 100644 --- a/sortdir.c +++ b/sortdir.c @@ -638,7 +638,7 @@ void firstblk(char *dirname, uchar *device, uint *block) { drive = ((*lastdev & 0x80) >> 7) + ((*lastdev & 0x03) << 1) + 1; printf("[Slot %u, Drive %u]\n", slot, drive); *device = slot + (drive - 1) * 8; - dio_hdl = dio_open(*device); // TODO should dio_close on exit + dio_hdl = dio_open(*device); hdr = (struct pd_dirhdr*)(buf + PTRSZ); diff --git a/sortdir.po b/sortdir.po index d3b0288..f110308 100644 Binary files a/sortdir.po and b/sortdir.po differ