On Thu, May 31, 2018 at 10:03:28AM +0200, David Marchand wrote:
> Rather than copy the string, we can use a precision in the format string
> given to printf.
>
> Signed-off-by: David Marchand
Acked-by: Olivier Matz
Rather than copy the string, we can use a precision in the format string
given to printf.
Signed-off-by: David Marchand
---
lib/librte_cmdline/cmdline_parse.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/lib/librte_cmdline/cmdline_parse.c
b/lib/librte_cmdline/cmd
2 matches
Mail list logo