summaryrefslogtreecommitdiffstats
path: root/kdecore/kdetcompmgr.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-03-02 18:08:37 -0600
committerSlávek Banko <slavek.banko@axis.cz>2013-03-04 02:54:14 +0100
commitd99793c2655fb4b033b4eb8f4b27a40fdc1b4b66 (patch)
tree272633afca31b5140c2eb5e76b4cc9e7f1a3189a /kdecore/kdetcompmgr.cpp
parentf42aed592a0e5536c75616aea44b99d1ae120e03 (diff)
downloadtdelibs-d99793c2655fb4b033b4eb8f4b27a40fdc1b4b66.tar.gz
tdelibs-d99793c2655fb4b033b4eb8f4b27a40fdc1b4b66.zip
Fix when kdetcompmgr printf message is displayed.
(cherry picked from commit b2f408002ea3d19c1e51664fe0511fc9a8119bec)
Diffstat (limited to 'kdecore/kdetcompmgr.cpp')
-rw-r--r--kdecore/kdetcompmgr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kdecore/kdetcompmgr.cpp b/kdecore/kdetcompmgr.cpp
index 43a326ac1..ee83a22f3 100644
--- a/kdecore/kdetcompmgr.cpp
+++ b/kdecore/kdetcompmgr.cpp
@@ -70,14 +70,13 @@ int main(int argc, char **argv)
strcat(filename, home);
strcat(filename, configfile);
- printf("[kdetcompmgr] reading '%s' as kompmgr pidfile\n\n", filename);
-
// Now that we did all that by way of introduction...read the file!
FILE *pFile;
char buffer[255];
pFile = fopen(filename, "r");
int kompmgrpid = 0;
if (pFile) {
+ printf("[kdetcompmgr] Using '%s' as kompmgr pidfile\n", filename);
// obtain file size
fseek (pFile , 0 , SEEK_END);
unsigned long lSize = ftell (pFile);