212,218c212 < /* struct sembuf sem_lock = { *mutex, -1, SEM_UNDO }; */ < < struct sembuf sem_lock; < < sem_lock.sem_num = *mutex; < sem_lock.sem_op = -1; < sem_lock.sem_flg = SEM_UNDO; --- > struct sembuf sem_lock = { *mutex, -1, SEM_UNDO }; 267,273c261 < /* struct sembuf sem_unlock = { *mutex, 1, SEM_UNDO }; */ < struct sembuf sem_unlock; < < sem_unlock.sem_num = *mutex; < sem_unlock.sem_op = 1; < sem_unlock.sem_flg = SEM_UNDO; < --- > struct sembuf sem_unlock = { *mutex, 1, SEM_UNDO };