Add source code module name [KDE-ICE error] to stdout/stderr messages to improve readability.

pull/16/head
Darrell Anderson 13 years ago
parent a1ecc607a2
commit 018767abe9

@ -1 +1 @@
Subproject commit eb886af35eccf31b370f56bd3d901e9804859e06 Subproject commit 1e5f9378a47b7a809f3027ae8f39ef5062825756

@ -433,7 +433,7 @@ IcePointer values;
fprintf (stderr, "\n"); fprintf (stderr, "\n");
fprintf (stderr, "ICE error: Offending minor opcode = %d (%s)\n", fprintf (stderr, "[KDE-ICE error] Offending minor opcode = %d (%s)\n",
offendingMinorOpcode, str); offendingMinorOpcode, str);
fprintf (stderr, " Offending sequence number = %ld\n", fprintf (stderr, " Offending sequence number = %ld\n",
@ -618,7 +618,7 @@ IceConn iceConn;
{ {
(void)iceConn;/*unused*/ (void)iceConn;/*unused*/
fprintf (stderr, fprintf (stderr,
"ICE default IO error handler doing an exit(), pid = %d, errno = %d\n", "[KDE-ICE error] ICE default IO error handler doing an exit(), pid = %d, errno = %d\n",
getpid(), errno); getpid(), errno);
exit (1); exit (1);

Loading…
Cancel
Save