Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-02-03 22:41:28 +0300
committerChristopher Faylor <me@cgf.cx>2004-02-03 22:41:28 +0300
commit50be1d78d9c6ab81a269669fbc49a3ef36587078 (patch)
tree5ca303e6d932e7f08834c8ba017198ce43d528e9 /winsup/cygwin/window.cc
parentac39cfccbd14715603f7021c3f2e8846961ab3bb (diff)
* window.cc (Winmain): Show windows error code in error output when
RegisterClass fails.
Diffstat (limited to 'winsup/cygwin/window.cc')
-rw-r--r--winsup/cygwin/window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/window.cc b/winsup/cygwin/window.cc
index f9f5da23a..a96337ae1 100644
--- a/winsup/cygwin/window.cc
+++ b/winsup/cygwin/window.cc
@@ -97,7 +97,7 @@ Winmain (VOID *)
if (!RegisterClass (&wc))
{
- system_printf ("Cannot register window class");
+ system_printf ("Cannot register window class, %E");
return FALSE;
}