[Xymon] i586, logfetch: ... delta NNN bytes exceeds max buffer size 0
Sergey
a_s_y at sama.ru
Mon Jul 4 16:26:43 CEST 2016
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
More information about the Xymon
mailing list