From e9696710fd46af151364cb8626f62a7de194c8f2 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 7 Mar 2012 17:22:58 -0600 Subject: Add source code module name to stdout/stderr messages to improve readability. (cherry picked from commit e15521d96b21cb0c771cce7cbe2ceb38f27c8844) --- kdeprint/fooscanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kdeprint/fooscanner.cpp') 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 ); } -- cgit v1.2.1