diff options
author | germeier <germeier> | 2003-03-26 00:05:50 +0000 |
---|---|---|
committer | germeier <germeier> | 2003-03-26 00:05:50 +0000 |
commit | e53a7d08e57f6e770b0809ced22cc61d87a5d173 (patch) | |
tree | fc3f595b675f0ef59d7469d69a8ec3aa1db931e6 /libmpio | |
parent | 3a22100bafaa80b126a460e761398c371c92d973 (diff) | |
download | mpiosh-e53a7d08e57f6e770b0809ced22cc61d87a5d173.tar.gz mpiosh-e53a7d08e57f6e770b0809ced22cc61d87a5d173.tar.bz2 mpiosh-e53a7d08e57f6e770b0809ced22cc61d87a5d173.zip |
don't be to strict with this check
Diffstat (limited to 'libmpio')
-rw-r--r-- | libmpio/fat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libmpio/fat.c b/libmpio/fat.c index 4dce812..027b719 100644 --- a/libmpio/fat.c +++ b/libmpio/fat.c @@ -1,6 +1,6 @@ /* * - * $Id: fat.c,v 1.23 2003/03/25 23:56:52 germeier Exp $ + * $Id: fat.c,v 1.24 2003/03/26 00:05:50 germeier Exp $ * * Library for USB MPIO-* * @@ -503,8 +503,7 @@ mpio_fatentry_read(mpio_t *m, mpio_mem_t mem, mpio_fatentry_t *f ) /* check if this block became defective */ if (m->model >= MPIO_MODEL_FD100) { /* newer models */ - if ((sm->fat[e+0x0c] != 0) || - (sm->fat[e+0x0f] != 0) || + if ((sm->fat[e+0x0f] != 0) || (sm->fat[e+0x01] != sm->fat[e+0x0e])) { debug("defective block encountered, abort reading! (newer models check)\n"); |