summaryrefslogtreecommitdiffstats
path: root/ksysguard/ksysguardd/Linux/ProcessList.c
diff options
context:
space:
mode:
Diffstat (limited to 'ksysguard/ksysguardd/Linux/ProcessList.c')
-rw-r--r--ksysguard/ksysguardd/Linux/ProcessList.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksysguard/ksysguardd/Linux/ProcessList.c b/ksysguard/ksysguardd/Linux/ProcessList.c
index b267c7005..1eba1f6cc 100644
--- a/ksysguard/ksysguardd/Linux/ProcessList.c
+++ b/ksysguard/ksysguardd/Linux/ProcessList.c
@@ -40,7 +40,7 @@
#define BUFSIZE 1024
#define TAGSIZE 32
-#define KDEINITLEN strlen( "kdeinit: " )
+#define KDEINITLEN strlen( "tdeinit: " )
static CONTAINER ProcessList = 0;
@@ -287,9 +287,9 @@ static int updateProcess( int pid )
if ( fclose( fd ) )
return -1;
- /* Ugly hack to "fix" program name for kdeinit launched programs. */
- if ( strcmp( ps->name, "kdeinit" ) == 0 &&
- strncmp( ps->cmdline, "kdeinit: ", KDEINITLEN ) == 0 &&
+ /* Ugly hack to "fix" program name for tdeinit launched programs. */
+ if ( strcmp( ps->name, "tdeinit" ) == 0 &&
+ strncmp( ps->cmdline, "tdeinit: ", KDEINITLEN ) == 0 &&
strcmp( ps->cmdline + KDEINITLEN, "Running..." ) != 0 ) {
size_t len;
char* end = strchr( ps->cmdline + KDEINITLEN, ' ' );