intel_pmu: fix epel6 compilation issue
authorKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Mon, 12 Feb 2018 11:12:44 +0000 (11:12 +0000)
committerKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Mon, 19 Feb 2018 08:12:52 +0000 (08:12 +0000)
commit0a600b591a897e0b7cc2097098ed3b014fb9eec8
treea3bceccfb99fa5cdb20052cd5426008e7a355356
parentc0f6e19a1a154f31ce085d0010c164cdef5fbe18
intel_pmu: fix epel6 compilation issue

To avoid compilation error on some versions of gcc the
saveptr for strtok_r needs to be initilised to NULL.

Change-Id: I7b30e51ecae33a6994ba7ea181cac0f33eef023f
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
src/intel_pmu.c
src/utils_config_cores.c