Fix a format string error clang found.

This commit is contained in:
wiz 2012-04-08 17:04:19 +00:00
parent e57903e6cb
commit c1f6ba2db1
1 changed files with 2 additions and 2 deletions

4
dist/pdisk/pdisk.c vendored
View File

@ -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);
}