Changed message about cylinder alignment.

This commit is contained in:
Thomas Schmitt 2011-03-04 15:14:11 +01:00
parent 2caf527f67
commit 1238c19494

View File

@ -1113,6 +1113,7 @@ int tail_writer_compute_data_blocks(IsoImageWriter *writer)
int ret;
Ecma119Image *target;
struct iso_zero_writer_data_struct *data;
char msg[160];
target = writer->target;
ret = iso_align_isohybrid(target, 0);
@ -1120,9 +1121,9 @@ int tail_writer_compute_data_blocks(IsoImageWriter *writer)
return ret;
data = (struct iso_zero_writer_data_struct *) writer->data;
if (data->num_blocks != target->tail_blocks) {
iso_msg_debug(target->image->id,
"Aligned image size for isohybrid by %d blocks",
sprintf(msg, "Aligned image size to cylinder size by %d blocks",
target->tail_blocks - data->num_blocks);
iso_msgs_submit(0, msg, 0, "NOTE", 0);
data->num_blocks = target->tail_blocks;
}
if (target->tail_blocks <= 0)