From ad7500a3d5ddc58c741d8485d44e43998b0d37ad Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Sat, 4 Jul 2009 15:44:26 -0400 Subject: [PATCH] Fix polling process title and turn off noisy debugging spew --- src/devkit-disks-poller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devkit-disks-poller.c b/src/devkit-disks-poller.c index b2049b9..402419b 100644 --- a/src/devkit-disks-poller.c +++ b/src/devkit-disks-poller.c @@ -41,7 +41,7 @@ static char **argv_buffer = NULL; static size_t argv_size = 0; #endif -#define POLL_SHOW_DEBUG +/*#define POLL_SHOW_DEBUG*/ static void set_proc_title_init (int argc, char *argv[]) @@ -206,7 +206,7 @@ read_more: set_proc_title ("devkit-disks-daemon: not polling any devices"); } else { - set_proc_title ("devkit-disks-daemon: polling %s", line); + set_proc_title ("devkit-disks-daemon: polling %s", line + strlen ("set-poll:")); if (poller_timeout_id == 0) { poller_timeout_id = g_timeout_add_seconds (2, poller_timeout_cb, NULL); -- 2.7.4