diff options
author | Maryse47 <41080948+Maryse47@users.noreply.github.com> | 2020-02-27 16:35:57 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2020-02-27 16:48:08 +0000 |
commit | 7e3e1f1dec3cf8a365843f9a51933b450180faf5 (patch) | |
tree | d833fea72d059b18f9221467ce6f0f03e319deb3 | |
parent | b5a25bcbfc85ff2a727bbfe0ba06bfdba46caddd (diff) | |
download | colord-7e3e1f1dec3cf8a365843f9a51933b450180faf5.tar.gz |
trivial: Downgrade more trivial warning to a debug statement
This is a follow up from https://github.com/hughsie/colord/commit/513bfa4783d0a630c226ee40638ab346c0d1c229 with a goal to avoid unnecessary spam in system logs.
Fixes https://github.com/hughsie/colord/issues/48
-rw-r--r-- | src/cd-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cd-main.c b/src/cd-main.c index 4a068d1..685736d 100644 --- a/src/cd-main.c +++ b/src/cd-main.c @@ -796,12 +796,12 @@ cd_main_get_cmdline_for_pid (guint pid) proc_path = g_strdup_printf ("/proc/%u/cmdline", pid); ret = g_file_get_contents (proc_path, &cmdline, &len, &error); if (!ret) { - g_warning ("CdMain: failed to read %s: %s", + g_debug ("CdMain: failed to read %s: %s", proc_path, error->message); return NULL; } if (len == 0) { - g_warning ("CdMain: failed to read %s", proc_path); + g_debug ("CdMain: failed to read %s", proc_path); g_free (cmdline); return NULL; } |