diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2015-08-17 17:30:38 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-08-18 10:30:53 +0100 |
commit | 13d3eeb2ee687455bd6e19ff6dae314b3a85776a (patch) | |
tree | 9afe9b6b353f1fcc23c7624bc8f112c8b20d00f7 | |
parent | dece918bc8e0d4e3222c4e71fc7f212b994e358c (diff) | |
download | lvm2-13d3eeb2ee687455bd6e19ff6dae314b3a85776a.tar.gz |
dmstats: fix type formatting
Fix several instances of 'const char * const*' to be:
'const char * const *'
-rw-r--r-- | tools/dmsetup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dmsetup.c b/tools/dmsetup.c index a937027d8..10ec7a5d9 100644 --- a/tools/dmsetup.c +++ b/tools/dmsetup.c @@ -3409,7 +3409,7 @@ static int _dm_stats_program_id_disp(struct dm_report *rh, const char *program_id; if (!(program_id = dm_stats_get_current_region_program_id(dms))) return_0; - return dm_report_field_string(rh, field, (const char * const*) &program_id); + return dm_report_field_string(rh, field, (const char * const *) &program_id); } static int _dm_stats_aux_data_disp(struct dm_report *rh, @@ -3421,7 +3421,7 @@ static int _dm_stats_aux_data_disp(struct dm_report *rh, const char *aux_data; if (!(aux_data = dm_stats_get_current_region_aux_data(dms))) return_0; - return dm_report_field_string(rh, field, (const char * const*) &aux_data); + return dm_report_field_string(rh, field, (const char * const *) &aux_data); } static int _dm_stats_rrqm_disp(struct dm_report *rh, |