[Debian-ha-maintainers] Bug#925821: Bug#925821: sbd: ftbfs with GCC-9

Valentin Vidic vvidic at debian.org
Thu Apr 11 21:07:19 BST 2019


On Wed, Mar 27, 2019 at 07:47:56PM +0000, Matthias Klose wrote:
> In file included from sbd-md.c:19:
> sbd-md.c: In function 'servant':
> sbd.h:190:37: error: '%s' directive argument is null [-Werror=format-overflow=]
>   190 | #define cl_log(level, fmt, args...) qb_log_from_external_source( __func__, __FILE__, fmt, level, __LINE__, 0, ##args)
>       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> sbd-md.c:1050:3: note: in expansion of macro 'cl_log'
>  1050 |   cl_log(LOG_ERR, "Empty disk name %s.", diskname);
>       |   ^~~~~~
> sbd-md.c:1050:36: note: format string is defined here
>  1050 |   cl_log(LOG_ERR, "Empty disk name %s.", diskname);
>       |                                    ^~

Already fixed upstream, when a new version is out this will be closed.

-- 
Valentin



More information about the Debian-ha-maintainers mailing list