diff options
Diffstat (limited to 'src/gpt.c')
-rw-r--r-- | src/gpt.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -243,7 +243,8 @@ int gpt_partition_find(struct context *context) printf("Found GPT partition: %s\n", name); if (strcmp(name, context->partition) == 0) { - printf("Matched GPT partition: %s\n", name); + if (context->verbose) + printf("Matched GPT partition: %s\n", name); context->address = (uint32_t) le64toh(partition->first_lba); context->length = (uint32_t) (le64toh(partition->last_lba) - le64toh(partition->first_lba) + 1) * GPT_BLOCK_SIZE; |