Update schedule.c

cosmetic