From 523708cd2681ff9da96e28cb2babbebc9fb3ebd4 Mon Sep 17 00:00:00 2001 From: germeier Date: Sat, 14 Sep 2002 22:54:41 +0000 Subject: add mpio_mem_t to dentry functions add debug informations to dentry functions fixed a off-by-one error in mpio_dentry_get --- libmpio/mpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libmpio/mpio.c') 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); -- cgit v1.2.3