summaryrefslogtreecommitdiffstats
path: root/testpar/t_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/t_cache.c')
-rw-r--r--testpar/t_cache.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index 0b94170..4e1e5ba 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -704,6 +704,10 @@ addr_to_datum_index(haddr_t base_addr)
* JRM -- 2/4/09
* Added initialization for the cleared and flushed fields.
*
+ * Mike McGreevy, July 2, 2009
+ * Changed base address from 0 to 512 since the superblock will
+ * always be at address 0.
+ *
*****************************************************************************/
static void
@@ -724,7 +728,7 @@ init_data(void)
1974, 3194, 5168, 8362, 13539};
int i;
int j = 0;
- haddr_t addr = 0;
+ haddr_t addr = 512;
/* this must hold so renames don't change entry size. */
HDassert( (NUM_DATA_ENTRIES / 2) % 20 == 0 );