* sigproc.cc (getsem): Clean up debugging output.
This commit is contained in:
parent
93f1818c05
commit
a2e12d0c37
|
@ -1,3 +1,7 @@
|
||||||
|
2002-01-07 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* sigproc.cc (getsem): Clean up debugging output.
|
||||||
|
|
||||||
2002-01-07 Christopher Faylor <cgf@redhat.com>
|
2002-01-07 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* sigproc.cc (getsem): Set errno when unable to create own semaphore.
|
* sigproc.cc (getsem): Set errno when unable to create own semaphore.
|
||||||
|
|
|
@ -944,7 +944,7 @@ getsem (_pinfo *p, const char *str, int init, int max)
|
||||||
p = myself;
|
p = myself;
|
||||||
if (!h)
|
if (!h)
|
||||||
{
|
{
|
||||||
system_printf ("can't %s %s, %E", p ? "open" : "create", str);
|
system_printf ("can't create semaphore %s, %E", str);
|
||||||
__seterrno ();
|
__seterrno ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue