diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-03-07 17:22:58 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-03-04 02:54:10 +0100 |
commit | e9696710fd46af151364cb8626f62a7de194c8f2 (patch) | |
tree | 8c28fac86d78d767a6c22584ea40f552796c7130 /kdeprint/fooscanner.cpp | |
parent | f29973ff64995727b9f5c0c43d65881d8af65f5e (diff) | |
download | tdelibs-e9696710fd46af151364cb8626f62a7de194c8f2.tar.gz tdelibs-e9696710fd46af151364cb8626f62a7de194c8f2.zip |
Add source code module name to stdout/stderr messages to improve readability.
(cherry picked from commit e15521d96b21cb0c771cce7cbe2ceb38f27c8844)
Diffstat (limited to 'kdeprint/fooscanner.cpp')
-rw-r--r-- | kdeprint/fooscanner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/fooscanner.cpp b/kdeprint/fooscanner.cpp index cab7426ab..1ae1eac56 100644 --- a/kdeprint/fooscanner.cpp +++ b/kdeprint/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 ); } |