* sigproc.cc (getsem): Clean up debugging output.

This commit is contained in:
Christopher Faylor 2002-01-07 22:18:36 +00:00
parent 93f1818c05
commit a2e12d0c37
2 changed files with 5 additions and 1 deletions

View File

@ -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>
* sigproc.cc (getsem): Set errno when unable to create own semaphore.

View File

@ -944,7 +944,7 @@ getsem (_pinfo *p, const char *str, int init, int max)
p = myself;
if (!h)
{
system_printf ("can't %s %s, %E", p ? "open" : "create", str);
system_printf ("can't create semaphore %s, %E", str);
__seterrno ();
}
}