summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-03-02 16:41:00 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-03-06 10:58:36 +0100
commit4319d6997c99f14ef6f33279fe030a004de56f95 (patch)
tree834724284cb9c37667b64279bf6fed0fdfc2e26e
parentdd985ad2d5d8743e33507017b23100a43876d5d0 (diff)
downloaddrakx-4319d6997c99f14ef6f33279fe030a004de56f95.tar
drakx-4319d6997c99f14ef6f33279fe030a004de56f95.tar.gz
drakx-4319d6997c99f14ef6f33279fe030a004de56f95.tar.bz2
drakx-4319d6997c99f14ef6f33279fe030a004de56f95.tar.xz
drakx-4319d6997c99f14ef6f33279fe030a004de56f95.zip
make "(add, " messages end in logs
rather than lost on console printf() was introduced in commit 9e6b327ca2b1f46db62e0811fabf0a6cf0b114a7
-rw-r--r--perl-install/partition_table/gpt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm
index df8ead3be..7beecb335 100644
--- a/perl-install/partition_table/gpt.pm
+++ b/perl-install/partition_table/gpt.pm
@@ -87,7 +87,7 @@ sub write {
foreach (@{$hd->{will_tell_kernel}}) {
my ($action, $part_number, $o_start, $o_size) = @$_;
my ($part) = grep { $_->{start} == $o_start && $_->{size} == $o_size } @$pt;
- print "($action, $part_number, $o_start, $o_size)\n";
+ log::l("GPT partitioning: ($action, $part_number, $o_start, $o_size)");
if ($action eq 'add') {
local $part->{fs_type} = $rev_parted_mapping{$part->{fs_type}} if $rev_parted_mapping{$part->{fs_type}};
c::disk_add_partition($hd->{file}, $o_start, $o_size, $part->{fs_type}) or die "failed to add partition #$part_number on $hd->{file}";