Correct a mistake in the sched_setaffinity call

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>