summaryrefslogtreecommitdiffstats
path: root/winsup
diff options
context:
space:
mode:
Diffstat (limited to 'winsup')
-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 ();
}
}