Skip to content

Commit

Permalink
bin/hd: Fix format strings through B_PRI macros
Browse files Browse the repository at this point in the history
  • Loading branch information
kallisti5 committed Jul 19, 2015
1 parent 3f06c69 commit 46e1214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/hd.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ dump_file(FILE *fp)
void
display(uint32 offset, uint8 *data)
{
printf("%08lx ", offset);
printf("%08" B_PRIx32 " ", offset);
printf(" %s ", hexbytes(data));
printf("%16s ", printable(data));

Expand Down

0 comments on commit 46e1214

Please sign in to comment.