[tracker/tracker-0.10] tracker-control: Use g_printerr instead of g_warning in get_uid_for_pid



commit e07e3c518aec8625a89245b1ff4eea9eae7b3742
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 1942cca..fe4fb41 100644
--- a/src/tracker-control/tracker-control-general.c
+++ b/src/tracker-control/tracker-control-general.c
@@ -303,7 +303,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]