Merge pull request #45 from tianlongqin/master

Modify the first parameter of the lock_init function
pull/49/head
朱天龙 (Armink) 7 years ago committed by GitHub
commit fa7f940e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,7 +115,7 @@ static void lock_init(void)
sembuf.sem_op = 1;
sembuf.sem_flg = 0;
rc = semop(semid, &sembuf, 1);
rc = semop(id, &sembuf, 1);
if (rc == -1)
goto __exit;
}

Loading…
Cancel
Save