diff options
Diffstat (limited to 'ksysguard/ksysguardd')
-rw-r--r-- | ksysguard/ksysguardd/Irix/ProcessList.c | 2 | ||||
-rw-r--r-- | ksysguard/ksysguardd/Linux/ProcessList.c | 8 | ||||
-rw-r--r-- | ksysguard/ksysguardd/Makefile.am | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ksysguard/ksysguardd/Irix/ProcessList.c b/ksysguard/ksysguardd/Irix/ProcessList.c index 523d87d26..3ef86684a 100644 --- a/ksysguard/ksysguardd/Irix/ProcessList.c +++ b/ksysguard/ksysguardd/Irix/ProcessList.c @@ -44,7 +44,7 @@ #include "ProcessList.h" #define BUFSIZE 1024 -#define KDEINITLEN strlen("kdeinit: ") +#define KDEINITLEN strlen("tdeinit: ") typedef struct { int alive; /* for "garbage collection" */ 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, ' ' ); diff --git a/ksysguard/ksysguardd/Makefile.am b/ksysguard/ksysguardd/Makefile.am index 485700780..0e6da33ad 100644 --- a/ksysguard/ksysguardd/Makefile.am +++ b/ksysguard/ksysguardd/Makefile.am @@ -32,4 +32,4 @@ bin_PROGRAMS = ksysguardd ksysguardd_SOURCES = Command.c conf.c ksysguardd.c PWUIDCache.c ksysguardd_LDFLAGS = $(all_libraries) -ksysguardd_LDADD = $(top_builddir)/ksysguard/ksysguardd/$(UNAME)/libksysguardd.a ../CContLib/libccont.a -lkdefakes_nonpic $(LIBHOSTS) $(LIB_DNSSD) $(LIB_KINFO) +ksysguardd_LDADD = $(top_builddir)/ksysguard/ksysguardd/$(UNAME)/libksysguardd.a ../CContLib/libccont.a -ltdefakes_nonpic $(LIBHOSTS) $(LIB_DNSSD) $(LIB_KINFO) |