summaryrefslogtreecommitdiffstats
path: root/src/fat_dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fat_dir.c')
-rw-r--r--src/fat_dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fat_dir.c b/src/fat_dir.c
index 069b581..3c9c171 100644
--- a/src/fat_dir.c
+++ b/src/fat_dir.c
@@ -468,11 +468,11 @@ dir_partition_t dir_partition_fat_init(disk_t *disk_car, const partition_t *part
dir_data->param|=FLAG_LIST_MASK16;
dir_data->verbose=verbose;
dir_data->capabilities=CAPA_LIST_DELETED;
- dir_data->copy_file=fat_copy;
- dir_data->close=dir_partition_fat_close;
+ dir_data->copy_file=&fat_copy;
+ dir_data->close=&dir_partition_fat_close;
dir_data->local_dir=NULL;
dir_data->private_dir_data=ls;
- dir_data->get_dir=fat_dir;
+ dir_data->get_dir=&fat_dir;
return DIR_PART_OK;
}