[tracker/tracker-0.12] tracker-control: Use g_printerr instead of g_warning in get_uid_for_pid
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12] tracker-control: Use g_printerr instead of g_warning in get_uid_for_pid
- Date: Thu, 20 Oct 2011 12:44:35 +0000 (UTC)
commit 2dddfca14074f2536f98c7f96a7eb6dba57eb60c
Author: JÃrg Billeter <j bitron ch>
Date: Mon Oct 17 10:12:25 2011 +0200
tracker-control: Use g_printerr instead of g_warning in get_uid_for_pid
This is in line with the rest of the code.
src/tracker-control/tracker-control-general.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-control/tracker-control-general.c b/src/tracker-control/tracker-control-general.c
index b60ed38..35d1157 100644
--- a/src/tracker-control/tracker-control-general.c
+++ b/src/tracker-control/tracker-control-general.c
@@ -543,7 +543,7 @@ get_uid_for_pid (const gchar *pid_as_string,
&error);
if (error) {
- g_warning ("Could not stat() file:'%s', %s", fn, error->message);
+ g_printerr ("Could not stat() file:'%s', %s", fn, error->message);
g_error_free (error);
uid = 0;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]