summaryrefslogtreecommitdiffstats
path: root/src/log_part.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log_part.c')
-rw-r--r--src/log_part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log_part.c b/src/log_part.c
index dd60a68..7b20fac 100644
--- a/src/log_part.c
+++ b/src/log_part.c
@@ -45,7 +45,7 @@ void log_partition(const disk_t *disk, const partition_t *partition)
void log_all_partitions(const disk_t *disk, const list_part_t *list_part)
{
- list_part_t *element;
+ const list_part_t *element;
for(element=list_part; element!=NULL; element=element->next)
log_partition(disk, element->part);
}