diff options
author | kib <kib@FreeBSD.org> | 2010-03-14 13:05:48 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-03-14 13:05:48 +0000 |
commit | 4ec03e41430de033f9148c520c57c1b9589855ea (patch) | |
tree | a11127d68018d407778a52dac033dbec1987919f /tools | |
parent | e919ba6d14b8992a15dc8e7b84c4c10896d5cc3f (diff) | |
download | FreeBSD-src-4ec03e41430de033f9148c520c57c1b9589855ea.zip FreeBSD-src-4ec03e41430de033f9148c520c57c1b9589855ea.tar.gz |
Adjust style, fix typo, do not print errno because it is meaningless there.
This test fails for now.
MFC after: 3 days
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/posixsem2/semtest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/regression/posixsem2/semtest.c b/tools/regression/posixsem2/semtest.c index befc7c5..38963f8 100644 --- a/tools/regression/posixsem2/semtest.c +++ b/tools/regression/posixsem2/semtest.c @@ -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) { |