Re: [dm-devel] [PATCH v2 3/4] multipath-tools: enable -Wformat-overflow=2

2021-05-20 Thread Benjamin Marzinski
On Mon, May 17, 2021 at 11:27:26PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > Allow the compiler to catch possible format string overflows. > Two were found by gcc 10. > > Signed-off-by: Martin Wilck Reviewed-by: Benjamin Marzinski > --- > Makefile.inc | 3 ++- > libmu

[dm-devel] [PATCH v2 3/4] multipath-tools: enable -Wformat-overflow=2

2021-05-17 Thread mwilck
From: Martin Wilck Allow the compiler to catch possible format string overflows. Two were found by gcc 10. Signed-off-by: Martin Wilck --- Makefile.inc | 3 ++- libmultipath/discovery.c | 2 +- libmultipath/print.c | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) dif