tools/power turbostat: Repair Segmentation fault when using -i option
authorLen Brown <len.brown@intel.com>
Thu, 1 Nov 2012 04:16:34 +0000 (00:16 -0400)
committerLen Brown <len.brown@intel.com>
Thu, 1 Nov 2012 04:21:43 +0000 (00:21 -0400)
commit39300ffb9b6666714c60735cf854e1280e4e75f4
treea9c5c5c0a440e326815ab722fb2a4486c11e85f5
parentbc909421a9c7083fcde795846d22b36a51a7be54
tools/power turbostat: Repair Segmentation fault when using -i option

Fix regression caused by commit 8e180f3cb6b7510a3bdf14e16ce87c9f5d86f102
(tools/power turbostat: add [-d MSR#][-D MSR#] options to print counter
deltas)

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c