Xymon Mailing List Archive search

i586, logfetch: ... delta NNN bytes exceeds max buffer size 0

list Sergey
Mon, 4 Jul 2016 18:26:43 +0400
Message-Id: <user-83a19264287f@xymon.invalid>

On Tuesday 24 May 2016, you wrote:
This is the first report I've received, but the values indicated are
suspiciously right over (2M = 2097152), which makes me think a 32bit issue
is very possible.
I found. Format %zu should be used for size_t, but bufsz defined as off_t:

#ifdef _LARGEFILE_SOURCE
        off_t bufsz;
#else
        long bufsz;
#endif

%zu should be changed to %llu or size_t should be used for bufsz.

-- 
Regards, Sergey