OSDN Git Service

* sigproc.cc (getsem): Clean up debugging output.
authorcgf <cgf>
Mon, 7 Jan 2002 22:18:35 +0000 (22:18 +0000)
committercgf <cgf>
Mon, 7 Jan 2002 22:18:35 +0000 (22:18 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/sigproc.cc

index 1c2187c..6ae86d3 100644 (file)
@@ -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.
index 36b563e..159c3bd 100644 (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 ();
        }
     }