[PATCH] taskmgr: Use the ARRAY_SIZE() macro