diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2023-02-01 16:58:00 +0100 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2023-02-01 16:58:00 +0100 |
commit | 2e965d29c1692b52ae76aacc4a074d7fc31cfb25 (patch) | |
tree | 2adf4c6b40997b4a5754bda729d83716c1542b7d /camlibs | |
parent | 36b245ab3f54fd4186985771655bc1db4df4de72 (diff) | |
download | libgphoto2-2e965d29c1692b52ae76aacc4a074d7fc31cfb25.tar.gz |
fixed ptp_debug parameters (Coverity)
Diffstat (limited to 'camlibs')
-rw-r--r-- | camlibs/ptp2/ptp-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/ptp2/ptp-pack.c b/camlibs/ptp2/ptp-pack.c index 56b80b7f8..712645c8c 100644 --- a/camlibs/ptp2/ptp-pack.c +++ b/camlibs/ptp2/ptp-pack.c @@ -2603,7 +2603,7 @@ static unsigned int olcsizes[0x15][13] = { if (!(mask & curmask)) continue; if (curoff+olcsizes[olcver][j] > size) { - ptp_debug (params, "event %d: size of entry ", i, mask, len, len - 8); + ptp_debug (params, "event %d: mask 0x%x size of olc entry %d exceeds total size %d", i, mask, curoff+olcsizes[olcver][j], size); break; } ptp_debug (params, "event %d: olcmask 0x%04x", i, curmask); |