From: David Zeuthen Date: Sat, 4 Jul 2009 19:44:26 +0000 (-0400) Subject: Fix polling process title and turn off noisy debugging spew X-Git-Tag: upstream/2.1.2~825 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad7500a3d5ddc58c741d8485d44e43998b0d37ad;p=platform%2Fupstream%2Fudisks2.git Fix polling process title and turn off noisy debugging spew --- 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);