Fixed lock_cond.c for resub.