Skip to content

Commit

Permalink
lib: partition: Decrease verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
TravMurav authored and stephan-gh committed Nov 4, 2023
1 parent 2964449 commit d7d89b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/partition/partition.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ int partition_publish(const char *device, off_t offset)
struct mbr_part part[4];
memcpy(part, buf + 446, sizeof(part));

#if DEBUGLEVEL >= INFO
dprintf(INFO, "mbr partition table dump:\n");
#if DEBUGLEVEL >= SPEW
dprintf(SPEW, "mbr partition table dump:\n");
for (i=0; i < 4; i++) {
dprintf(INFO, "\t%i: status 0x%hhx, type 0x%hhx, start 0x%x, len 0x%x\n", i, part[i].status, part[i].type, part[i].lba_start, part[i].lba_length);
dprintf(SPEW, "\t%i: status 0x%hhx, type 0x%hhx, start 0x%x, len 0x%x\n", i, part[i].status, part[i].type, part[i].lba_start, part[i].lba_length);
}
#endif

Expand Down

0 comments on commit d7d89b7

Please sign in to comment.