summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: beee49e)
raw | patch | inline | side by side (parent: beee49e)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 27 Mar 2007 14:31:51 +0000 (16:31 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 27 Mar 2007 14:31:51 +0000 (16:31 +0200) |
src/processes.c | patch | blob | history | |
src/unixsock.c | patch | blob | history |
diff --git a/src/processes.c b/src/processes.c
index 7d918d4fd5645a952a5fadcc2cd559cae21df95d..5fd12212e4486f0302df6f435432017c2fdb625a 100644 (file)
--- a/src/processes.c
+++ b/src/processes.c
fields_len = strsplit (buffer, fields, 64);
if (fields_len < 24)
{
- DEBUG ("`%s' has only %i fields..",
- filename, fields_len);
+ DEBUG ("processes plugin: ps_read_process (pid = %i):"
+ " `%s' has only %i fields..",
+ (int) pid, filename, fields_len);
return (-1);
}
- else if (fields_len != 41)
- {
- DEBUG ("WARNING: (fields_len = %i) != 41", fields_len);
- }
/* copy the name, strip brackets in the process */
name_len = strlen (fields[1]) - 2;
diff --git a/src/unixsock.c b/src/unixsock.c
index 4cf3c13465d33d7977700888fd542463e786c0f6..95ccb9da38cb3f266df901bb4781ca8c0269fa44 100644 (file)
--- a/src/unixsock.c
+++ b/src/unixsock.c
if (listen_thread != (pthread_t) 0)
{
- DEBUG ("unixsock plugin: Sending SIGTERM to listening thread");
pthread_kill (listen_thread, SIGTERM);
- DEBUG ("unixsock plugin: Waiting for thread to terminate");
pthread_join (listen_thread, &ret);
listen_thread = (pthread_t) 0;
}