summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-01-07 22:18:36 +0000
committerChristopher Faylor <me@cgf.cx>2002-01-07 22:18:36 +0000
commita2e12d0c37d7d66de410a47fbc930c6158dbf55d (patch)
tree647b37a227e74a64555b6f875cfb300552ad197e /winsup/cygwin
parent93f1818c056d453b66bbf3461af449fb2e5ee2f1 (diff)
downloadcygnal-a2e12d0c37d7d66de410a47fbc930c6158dbf55d.tar.gz
cygnal-a2e12d0c37d7d66de410a47fbc930c6158dbf55d.tar.bz2
cygnal-a2e12d0c37d7d66de410a47fbc930c6158dbf55d.zip
* sigproc.cc (getsem): Clean up debugging output.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/sigproc.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 1c2187c0b..6ae86d345 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
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.
Reorganize to make clearer that error should only come from initial
creation of process semaphore.
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 36b563e1c..159c3bd69 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -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 ();
}
}