aboutsummaryrefslogtreecommitdiff
path: root/libmpio/mpio.c
diff options
context:
space:
mode:
authorgermeier <germeier>2002-09-14 22:54:41 +0000
committergermeier <germeier>2002-09-14 22:54:41 +0000
commit523708cd2681ff9da96e28cb2babbebc9fb3ebd4 (patch)
tree6f6fce71e96f030d019c9431dc48113b06294ea6 /libmpio/mpio.c
parent49dbdf4e2074c35ff16534db3d21eec3841c491f (diff)
downloadmpiosh-523708cd2681ff9da96e28cb2babbebc9fb3ebd4.tar.gz
mpiosh-523708cd2681ff9da96e28cb2babbebc9fb3ebd4.tar.bz2
mpiosh-523708cd2681ff9da96e28cb2babbebc9fb3ebd4.zip
add mpio_mem_t to dentry functions
add debug informations to dentry functions fixed a off-by-one error in mpio_dentry_get
Diffstat (limited to 'libmpio/mpio.c')
-rw-r--r--libmpio/mpio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpio/mpio.c b/libmpio/mpio.c
index 8f3b87c..f65b47e 100644
--- a/libmpio/mpio.c
+++ b/libmpio/mpio.c
@@ -1,6 +1,6 @@
/*
*
- * $Id: mpio.c,v 1.15 2002/09/14 16:14:46 germeier Exp $
+ * $Id: mpio.c,v 1.16 2002/09/14 22:54:41 germeier Exp $
*
* Library for USB MPIO-*
*
@@ -80,6 +80,7 @@ mpio_init_internal(mpio_t *m)
debugn(2,"max_cluster: %d\n", sm->max_cluster);
/* 16 bytes per cluster */
sm->fat_size = sm->max_cluster*16/SECTOR_SIZE;
+ debugn(2,"fat_size: %04x\n", sm->fat_size*SECTOR_SIZE);
sm->fat = malloc(sm->fat_size*SECTOR_SIZE);
mpio_fat_read(m, MPIO_INTERNAL_MEM);