From: Christopher Faylor Date: Tue, 3 Feb 2004 19:41:28 +0000 (+0000) Subject: * window.cc (Winmain): Show windows error code in error output when X-Git-Tag: csl-arm-2004-q1~256 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=50be1d78d9c6ab81a269669fbc49a3ef36587078;p=newlib-cygwin.git * window.cc (Winmain): Show windows error code in error output when RegisterClass fails. --- diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 9413511a7..268378f64 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2004-02-03 Jason Tishler + + * window.cc (Winmain): Show windows error code in error output when + RegisterClass fails. + 2004-02-02 Christopher Faylor * fhandler.h (*::fixup_after_exec): Eliminate unused handle argument. 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; }