diff options
author | Oskari Lemmela <oskari@lemmela.net> | 2021-03-02 21:42:06 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-03-03 01:00:23 +0000 |
commit | 46c411e0b30a6f581c0c25f7a03385eb49effd03 (patch) | |
tree | d3e5e77bea9ecc3c5c0298871e640c8260bd1893 /tools | |
parent | ec76cbc521e182d04bc07339e3c7b5a7a8f15a5b (diff) | |
download | upstream-46c411e0b30a6f581c0c25f7a03385eb49effd03.tar.gz upstream-46c411e0b30a6f581c0c25f7a03385eb49effd03.tar.bz2 upstream-46c411e0b30a6f581c0c25f7a03385eb49effd03.zip |
firmware-utils/ptgen: fix compile warnings
remove extra arguments from printf message
Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/firmware-utils/src/ptgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/firmware-utils/src/ptgen.c b/tools/firmware-utils/src/ptgen.c index 93c2d32a3f..a55f2e7a14 100644 --- a/tools/firmware-utils/src/ptgen.c +++ b/tools/firmware-utils/src/ptgen.c @@ -311,7 +311,7 @@ static int gen_ptable(uint32_t signature, int nr) if (parts[i].start != 0) { if (parts[i].start * 2 < start) { fprintf(stderr, "Invalid start %ld for partition %d!\n", - parts[i].start, i, start); + parts[i].start, i); return ret; } start = parts[i].start * 2; @@ -398,7 +398,7 @@ static int gen_gptable(uint32_t signature, guid_t guid, unsigned nr) if (parts[i].start != 0) { if (parts[i].start * 2 < start) { fprintf(stderr, "Invalid start %ld for partition %d!\n", - parts[i].start, i, start); + parts[i].start, i); return ret; } start = parts[i].start * 2; |