trace: avoid confusion on optarg
authorDavid Marchand <david.marchand@redhat.com>
Thu, 30 Apr 2020 17:27:16 +0000 (19:27 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 6 May 2020 11:50:32 +0000 (13:50 +0200)
commitb86aebcb6f22a3f282eaa5624764f827988b48b9
tree24b3b9527eaa608aeb7c1abc8aeaf4f5dcf14c6f
parentebaee64097027be82f2bdfbbf148a34f94f2b280
trace: avoid confusion on optarg

Prefer a local name to optarg which is a global symbol from the C library.

Fixes: 8c8066ea6a7b ("trace: add trace mode configuration parameter")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Sunil Kumar Kori <skori@marvell.com>
lib/librte_eal/common/eal_common_trace_utils.c
lib/librte_eal/common/eal_trace.h