Adjust style, fix typo, do not print errno because it is meaningless there.
This test fails for now. MFC after: 3 days
This commit is contained in:
parent
31f957034a
commit
6e2e67160e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205149
@ -65,7 +65,8 @@ test_named(void)
|
||||
if (s2 == SEM_FAILED)
|
||||
err(2, "second sem_open call failed");
|
||||
if (s != s2)
|
||||
err(3, "two sem_open calls for same semaphore do not returm same address.");
|
||||
errx(3,
|
||||
"two sem_open calls for same semaphore do not return same address.");
|
||||
if (sem_close(s2))
|
||||
err(4, "sem_close failed");
|
||||
if ((pid = fork()) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user