On Tue, Jun 27, 2017 at 07:35:44PM +0200, Marek Marczykowski-Górecki wrote: > GCC 7 warns (and thanks to -Werror, fails) about potential string > truncation by snprintf in get_next_battery_file. Since the code already > check if string is no longer than 4 chars, tell gcc about it. > > Signed-off-by: Marek Marczykowski-Górecki <marma...@invisiblethingslab.com>
I think this is fixed in staging by enlarging the size of the buffers. Have you tried the latest code? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel