Fixed typo in task_manager.c

User george4657 on the forums pointed out a typo in task_manager.c - I have corrected it.