Re: [PATCH] blk-wbt: tracing: prefer strlcpy to strncpy

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

[PATCH] blk-wbt: 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/wbt.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/trace/events/wbt.h b/include/trace/events/wbt.h index b048694..305252d 100644 --- a/include/trace/eve