diff options
| author | wiz <wiz@NetBSD.org> | 2012-04-08 17:04:19 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2012-04-08 17:04:19 +0000 |
| commit | a142017167b646658b5b7c08f7133fcd1aea0bcd (patch) | |
| tree | 30089fafdeaf77b0ac417e1feca0b4dd73f8fd2f | |
| parent | 413198af8358a7c51fa5d905716cb65232af0878 (diff) | |
Fix a format string error clang found.
| -rw-r--r-- | dist/pdisk/pdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/pdisk/pdisk.c b/dist/pdisk/pdisk.c index ce8dc02c333..6214c635e2c 100644 --- a/dist/pdisk/pdisk.c +++ b/dist/pdisk/pdisk.c @@ -167,12 +167,12 @@ main(int argc, char **argv) init_program_name(argv); if (sizeof(DPME) != PBLOCK_SIZE) { - fatal(-1, "Size of partition map entry (%d) " + fatal(-1, "Size of partition map entry (%lu) " "is not equal to block size (%d)\n", sizeof(DPME), PBLOCK_SIZE); } if (sizeof(Block0) != PBLOCK_SIZE) { - fatal(-1, "Size of block zero structure (%d) " + fatal(-1, "Size of block zero structure (%lu) " "is not equal to block size (%d)\n", sizeof(Block0), PBLOCK_SIZE); } |
