summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-05-30 18:10:51 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-05-30 18:10:51 +0200
commitc50183a27c774bc20103d75019349ba0fd0a65db (patch)
treee652325aa3fdf900ed287cba4c3bf2417e055543
parent68ed33a52d05296369365bfca1e4ece9e10f9af3 (diff)
Log the partition table type autodetected
-rw-r--r--src/partauto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partauto.c b/src/partauto.c
index f0f961a..9f3accb 100644
--- a/src/partauto.c
+++ b/src/partauto.c
@@ -91,9 +91,9 @@ void autodetect_arch(disk_t *disk)
}
if(list_part==NULL)
disk->arch=arch;
- log_info("Partition table type (auto): %s\n", disk->arch->part_name);
part_free_list(list_part);
#ifndef DEBUG_PARTAUTO
log_set_levels(old_levels);
#endif
+ log_info("Partition table type (auto): %s\n", disk->arch->part_name);
}