Commit 7ceb67f0 authored by Thomas Schmitt's avatar Thomas Schmitt

Polished appearance of BD spare info with --list_formats

parent e18bfe50
......@@ -5691,12 +5691,10 @@ int Cdrskin_list_formats(struct CdrskiN *skin, int flag)
} else
sprintf(status_text, "illegal status according to MMC-5");
printf("Format status: %s\n", status_text);
ret= burn_disc_get_bd_spare_info(drive, &alloc_blocks, &free_blocks, 0);
if(ret == 1) {
printf("BD Spare Area consumed: %d\n", alloc_blocks - free_blocks);
printf("BD Spare Area available: %d\n", free_blocks);
if(ret == 1)
printf("BD Spare Area: %d blocks consumed, %d blocks available\n",
alloc_blocks - free_blocks, free_blocks);
for (i = 0; i < num_formats; i++) {
ret= burn_disc_get_format_descr(drive, i, &type, &size, &dummy);
#define Cdrskin_timestamP "2010.09.24.092535"
#define Cdrskin_timestamP "2010.09.24.100255"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment