summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2013-11-11 17:27:20 -0600
committerDarrell Anderson <[email protected]>2013-11-11 17:27:20 -0600
commita53b18585583de98a3fe3adf655b242c76ea9fab (patch)
tree041555ef49fea6581fc6e5e699b3f5b57697be1f
parente757d3d6ae93cf967d54c566e9c003b0f9cc3a9c (diff)
downloadtdelibs-a53b18585583de98a3fe3adf655b242c76ea9fab.tar.gz
tdelibs-a53b18585583de98a3fe3adf655b242c76ea9fab.zip
Add source code module name to stdout/stderr messages to improve readability.
-rw-r--r--tdecore/klockfile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/klockfile.cpp b/tdecore/klockfile.cpp
index 1f4f8337e..e7133a11e 100644
--- a/tdecore/klockfile.cpp
+++ b/tdecore/klockfile.cpp
@@ -206,7 +206,7 @@ static TDELockFile::LockResult deleteStaleLock(const TQString &lockFile, KDE_str
if ((KDE_lstat(lckFile, &st_buf2) == 0) && statResultIsEqual(st_buf1, st_buf2))
{
// - - if yes, delete lock file, delete temp file, retry lock
- tqWarning("WARNING: deleting stale lockfile %s", lckFile.data());
+ tqWarning("[tdecore] Deleting stale lockfile %s", lckFile.data());
::unlink(lckFile);
::unlink(tmpFile);
return TDELockFile::LockOK;
@@ -224,14 +224,14 @@ static TDELockFile::LockResult deleteStaleLock(const TQString &lockFile, KDE_str
statResultIsEqual(st_buf, st_buf2))
{
// Without support for link counts we will have a little race condition
- tqWarning("WARNING: deleting stale lockfile %s", lckFile.data());
+ tqWarning("[tdecore] Deleting stale lockfile %s", lckFile.data());
::unlink(lckFile);
::unlink(tmpFile);
return TDELockFile::LockOK;
}
// Failed to delete stale lock file
- tqWarning("WARNING: Problem deleting stale lockfile %s", lckFile.data());
+ tqWarning("[tdecore] WARNING: Problem deleting stale lockfile %s", lckFile.data());
::unlink(tmpFile);
return TDELockFile::LockFail;
}