summaryrefslogtreecommitdiffstats
path: root/src/ewf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ewf.c')
-rw-r--r--src/ewf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ewf.c b/src/ewf.c
index 7d7c3d6..7bf502c 100644
--- a/src/ewf.c
+++ b/src/ewf.c
@@ -296,13 +296,13 @@ disk_t *fewf_init(const char *device, const int mode)
disk->arch=&arch_none;
disk->device=strdup(device);
disk->data=data;
- disk->description=fewf_description;
- disk->description_short=fewf_description_short;
- disk->pread=fewf_pread;
- disk->pwrite=((data->mode&TESTDISK_O_RDWR)?fewf_pwrite:fewf_nopwrite);
- disk->sync=fewf_sync;
+ disk->description=&fewf_description;
+ disk->description_short=&fewf_description_short;
+ disk->pread=&fewf_pread;
+ disk->pwrite=((data->mode&TESTDISK_O_RDWR)?&fewf_pwrite:&fewf_nopwrite);
+ disk->sync=&fewf_sync;
disk->access_mode=(data->mode&TESTDISK_O_RDWR);
- disk->clean=fewf_clean;
+ disk->clean=&fewf_clean;
#if defined( HAVE_LIBEWF_V2_API ) || defined( LIBEWF_GET_BYTES_PER_SECTOR_HAVE_TWO_ARGUMENTS )
{
uint32_t bytes_per_sector = 0;