summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-03-07 17:22:58 -0600
committerSlávek Banko <slavek.banko@axis.cz>2013-03-04 02:54:10 +0100
commite9696710fd46af151364cb8626f62a7de194c8f2 (patch)
tree8c28fac86d78d767a6c22584ea40f552796c7130 /kio
parentf29973ff64995727b9f5c0c43d65881d8af65f5e (diff)
downloadtdelibs-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 'kio')
-rw-r--r--kio/kio/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kio/kio/lex.c b/kio/kio/lex.c
index 4b8cb21f7..99848a2f3 100644
--- a/kio/kio/lex.c
+++ b/kio/kio/lex.c
@@ -1584,7 +1584,7 @@ static void yy_fatal_error( msg )
char msg[];
#endif
{
- (void) fprintf( stderr, "%s\n", msg );
+ (void) fprintf( stderr, "[lex] %s\n", msg );
exit( YY_EXIT_FAILURE );
}