log: remove useless intermediate buffer
authorDavid Marchand <david.marchand@6wind.com>
Thu, 31 May 2018 08:03:27 +0000 (10:03 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 27 Jun 2018 16:17:56 +0000 (18:17 +0200)
commit0c41aab8e287909c3b2a963c9ba74494f3f1485b
treed188f1c3479d07d600b2ed19cc2ce10e9ed381a3
parentd67014c3d38b20ac4cfe103f5a7a2107feaa5acf
log: remove useless intermediate buffer

Rather than copy the log message, we can use a precision in the format
string given to syslog.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Reviewed-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_eal/linuxapp/eal/eal_log.c