summaryrefslogtreecommitdiffstats
path: root/src/exfat_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2017-04-03 18:08:49 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2017-04-03 18:08:49 +0200
commita2736fe5ebd1e39a22ed32ac06177a2bc7d014ce (patch)
tree62bfd51077aa81cb13f021f1dcc16f7d7cb6b78d /src/exfat_dir.c
parent3a0f3c7fbf7c39452a5d756ddb591e54ff567867 (diff)
Use explicit function adresses
See MISRA C:2004, 16.9
Diffstat (limited to 'src/exfat_dir.c')
-rw-r--r--src/exfat_dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exfat_dir.c b/src/exfat_dir.c
index 98788e4..83baf9a 100644
--- a/src/exfat_dir.c
+++ b/src/exfat_dir.c
@@ -333,11 +333,11 @@ dir_partition_t dir_partition_exfat_init(disk_t *disk, const partition_t *partit
dir_data->param=FLAG_LIST_DELETED;
dir_data->verbose=verbose;
dir_data->capabilities=CAPA_LIST_DELETED;
- dir_data->copy_file=exfat_copy;
- dir_data->close=dir_partition_exfat_close;
+ dir_data->copy_file=&exfat_copy;
+ dir_data->close=&dir_partition_exfat_close;
dir_data->local_dir=NULL;
dir_data->private_dir_data=ls;
- dir_data->get_dir=exfat_dir;
+ dir_data->get_dir=&exfat_dir;
return DIR_PART_OK;
}