diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-03-07 17:22:58 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-03-07 17:22:58 -0600 |
commit | e15521d96b21cb0c771cce7cbe2ceb38f27c8844 (patch) | |
tree | d70ae645d1e414273f12736df3589cc96fdeebda /tdeprint | |
parent | 563d4ecebe282b0062cbdb74413ef960401a25bf (diff) | |
download | tdelibs-e15521d96b21cb0c771cce7cbe2ceb38f27c8844.tar.gz tdelibs-e15521d96b21cb0c771cce7cbe2ceb38f27c8844.zip |
Add source code module name to stdout/stderr messages to improve readability.
Diffstat (limited to 'tdeprint')
-rw-r--r-- | tdeprint/fooscanner.cpp | 2 | ||||
-rw-r--r-- | tdeprint/ppdscanner.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/fooscanner.cpp b/tdeprint/fooscanner.cpp index 0cf15d2d1..f4d554a09 100644 --- a/tdeprint/fooscanner.cpp +++ b/tdeprint/fooscanner.cpp @@ -1591,7 +1591,7 @@ static void yy_fatal_error( msg ) char msg[]; #endif { - (void) fprintf( stderr, "%s\n", msg ); + (void) fprintf( stderr, "[fooscanner] %s\n", msg ); exit( YY_EXIT_FAILURE ); } diff --git a/tdeprint/ppdscanner.cpp b/tdeprint/ppdscanner.cpp index 12ade574d..3ae2235cd 100644 --- a/tdeprint/ppdscanner.cpp +++ b/tdeprint/ppdscanner.cpp @@ -1790,7 +1790,7 @@ static void yy_fatal_error( msg ) char msg[]; #endif { - (void) fprintf( stderr, "%s\n", msg ); + (void) fprintf( stderr, "[ppdscanner] %s\n", msg ); exit( YY_EXIT_FAILURE ); } |