Update sched.c

sched tweak