aboutsummaryrefslogtreecommitdiff
path: root/libmpio
diff options
context:
space:
mode:
authorgermeier <germeier>2003-04-04 22:08:53 +0000
committergermeier <germeier>2003-04-04 22:08:53 +0000
commit1f7273dd2df6a0fcd50329f8c756da95aee4805c (patch)
tree12d42fb19d67ba67328abcd7fa2f91d8ccbfd003 /libmpio
parentd989a4d17fc77800aaf0f77797443e8774870492 (diff)
downloadmpiosh-1f7273dd2df6a0fcd50329f8c756da95aee4805c.tar.gz
mpiosh-1f7273dd2df6a0fcd50329f8c756da95aee4805c.tar.bz2
mpiosh-1f7273dd2df6a0fcd50329f8c756da95aee4805c.zip
oops, don't do this twice!
Diffstat (limited to 'libmpio')
-rw-r--r--libmpio/fat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpio/fat.c b/libmpio/fat.c
index 027b719..f26f009 100644
--- a/libmpio/fat.c
+++ b/libmpio/fat.c
@@ -1,6 +1,6 @@
/*
*
- * $Id: fat.c,v 1.24 2003/03/26 00:05:50 germeier Exp $
+ * $Id: fat.c,v 1.25 2003/04/04 22:08:53 germeier Exp $
*
* Library for USB MPIO-*
*
@@ -437,7 +437,7 @@ mpio_fat_read (mpio_t *m, mpio_mem_t mem,
if (mem == MPIO_INTERNAL_MEM)
{
sm = &m->internal;
- if (mpio_io_spare_read(m, mem, 0, (sm->size / sm->chips), 0, sm->fat,
+ if (mpio_io_spare_read(m, mem, 0, sm->size, 0, sm->fat,
(sm->fat_size * SECTOR_SIZE), progress_callback))
return 1;
return 0;