Turbostat: fix thread max number detection
authorVincent Brillault <git@lerya.net>
Sat, 18 Apr 2015 08:58:20 +0000 (10:58 +0200)
committerVincent Brillault <git@lerya.net>
Sat, 18 Apr 2015 09:06:26 +0000 (11:06 +0200)
commit70e1e4c4fc031a971d8801903f9d11c3b1dd9bbe
treef2b3569d1709d69ba81b7efc04e0a58952b847b4
parent39755bc4eaaea9b453ed423253bc7c478fbd95e5
Turbostat: fix thread max number detection

There is no "thread_id" and the value we compute is the direct number.
It can only be '1' or '2' and do not start at 0 like other values.
src/turbostat.c