]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
ras-events: Fence-post error when reporting number of cpus we listen to
authorTony Luck <tony.luck@intel.com>
Tue, 28 May 2013 18:20:36 +0000 (11:20 -0700)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 28 May 2013 19:47:08 +0000 (16:47 -0300)
commit6a7f5b75ada841222fcd6c4b6484af9de96c09e8
tree22bd88c9b4742336b20464cf84dbe336aa62efa4
parent7545e3123372921c7ba383d30f67d551a0105740
ras-events: Fence-post error when reporting number of cpus we listen to

I see:
rasdaemon: Listening to events for cpus 0 to 64

which would be 65 total cpus - I only have 64.

Fix the log message to use "n_cpus - 1" rather than "n_cpus".

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
ras-events.c