summaryrefslogtreecommitdiffstats
path: root/src/hdcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hdcache.c')
-rw-r--r--src/hdcache.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/hdcache.c b/src/hdcache.c
index 0c4e5a6..c7ae0ab 100644
--- a/src/hdcache.c
+++ b/src/hdcache.c
@@ -264,12 +264,12 @@ disk_t *new_diskcache(disk_t *disk_car, const unsigned int testdisk_mode)
new_disk_car->disk_real_size=disk_car->disk_real_size;
new_disk_car->write_used=0;
new_disk_car->data=data;
- new_disk_car->pread=cache_pread;
- new_disk_car->pwrite=cache_pwrite;
- new_disk_car->sync=cache_sync;
- new_disk_car->clean=cache_clean;
- new_disk_car->description=cache_description;
- new_disk_car->description_short=cache_description_short;
+ new_disk_car->pread=&cache_pread;
+ new_disk_car->pwrite=&cache_pwrite;
+ new_disk_car->sync=&cache_sync;
+ new_disk_car->clean=&cache_clean;
+ new_disk_car->description=&cache_description;
+ new_disk_car->description_short=&cache_description_short;
new_disk_car->rbuffer=NULL;
new_disk_car->wbuffer=NULL;
new_disk_car->rbuffer_size=0;