Fix warnings trivial warnings.
Fix warnings about: . Unused variables . format mismatch in printf/scanf format string and arguments . Missing parenthesis around assignment as truth values . Clang warnings anout unknown GCC pragma
This commit is contained in:
@@ -857,7 +857,7 @@ writebootimage(char *bootimage, int bootfd, int fd, int *currentsector,
|
||||
exit(1);
|
||||
}
|
||||
|
||||
fprintf(stderr, " * appended sector info: 0x%lx len 0x%x\n",
|
||||
fprintf(stderr, " * appended sector info: 0x%x len 0x%x\n",
|
||||
bap[0].sector, bap[0].length);
|
||||
|
||||
addr = buf;
|
||||
|
||||
Reference in New Issue
Block a user