Re: [PATCH] writeback: tracing: prefer strlcpy to strncpy

2018-05-29 Thread Nick Desaulniers
On Mon, May 28, 2018 at 11:37 PM, Nick Desaulniers wrote: > Fixes a stringop-truncation warning from gcc-8. > > Signed-off-by: Nick Desaulniers > --- > include/trace/events/writeback.h | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/include/trace/e

[PATCH] writeback: tracing: prefer strlcpy to strncpy

2018-05-28 Thread Nick Desaulniers
Fixes a stringop-truncation warning from gcc-8. Signed-off-by: Nick Desaulniers --- include/trace/events/writeback.h | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/trace/events/writeback.h b/include/trace/events/writeback.h index 32db72c..cfaf5