summaryrefslogtreecommitdiffstats
path: root/src/tload.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-17 17:07:34 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-17 17:07:34 +0200
commitf81999f220f4fc6bc61f1a5e2eb62d494785e2bf (patch)
treeb319f31c16f9dc86dd89f6266120cc8866878ae6 /src/tload.c
parenteb7e36f2e6270b34fb545000ab2860d67b6693f9 (diff)
interface_load(): use log_all_partitions()
Diffstat (limited to 'src/tload.c')
-rw-r--r--src/tload.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tload.c b/src/tload.c
index 2bfc31e..0868649 100644
--- a/src/tload.c
+++ b/src/tload.c
@@ -200,12 +200,10 @@ list_part_t *interface_load(disk_t *disk_car,list_part_t *list_part, const int v
log_info("interface_load\n");
td_list_for_each(backup_walker,&backup_list->list)
{
- list_part_t *element;
backup_disk_t *backup;
backup=td_list_entry(backup_walker, backup_disk_t, list);
log_info("%s %s",backup->description,ctime(&backup->my_time));
- for(element=backup->list_part;element!=NULL;element=element->next)
- log_partition(disk_car,element->part);
+ log_all_partitions(disk_car, backup->list_part);
}
#ifdef HAVE_NCURSES
backup_current=interface_load_ncurses(disk_car, backup_list);