Module Name: src Committed By: wiz Date: Sun Apr 8 17:04:19 UTC 2012
Modified Files: src/dist/pdisk: pdisk.c Log Message: Fix a format string error clang found. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/dist/pdisk/pdisk.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/dist/pdisk/pdisk.c diff -u src/dist/pdisk/pdisk.c:1.20 src/dist/pdisk/pdisk.c:1.21 --- src/dist/pdisk/pdisk.c:1.20 Fri Apr 6 22:41:47 2012 +++ src/dist/pdisk/pdisk.c Sun Apr 8 17:04:19 2012 @@ -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); }