Fix a format string error clang found.
This commit is contained in:
parent
e57903e6cb
commit
c1f6ba2db1
4
dist/pdisk/pdisk.c
vendored
4
dist/pdisk/pdisk.c
vendored
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user