All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ctm: use ofono_error instead of DBG for errors
@ 2010-12-15 21:06 Gustavo F. Padovan
  2010-12-15 21:23 ` Neil Jerram
  2010-12-16 14:47 ` Lucas De Marchi
  0 siblings, 2 replies; 7+ messages in thread
From: Gustavo F. Padovan @ 2010-12-15 21:06 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 942 bytes --]

---
 src/ctm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ctm.c b/src/ctm.c
index 1df34c2..2c82c2e 100644
--- a/src/ctm.c
+++ b/src/ctm.c
@@ -90,7 +90,7 @@ static void ctm_set_enabled_callback(const struct ofono_error *error,
 	DBusMessage *reply;
 
 	if (error->type != OFONO_ERROR_TYPE_NO_ERROR) {
-		DBG("Error setting ctm enabled property");
+		ofono_error("Error setting ctm enabled property");
 
 		reply = __ofono_error_failed(ctm->pending);
 		__ofono_dbus_pending_reply(&ctm->pending, reply);
@@ -116,7 +116,7 @@ static void ctm_query_enabled_callback(const struct ofono_error *error,
 	if (error->type != OFONO_ERROR_TYPE_NO_ERROR) {
 		DBusMessage *reply;
 
-		DBG("Error during ctm enabled query");
+		ofono_error("Error during ctm enabled query");
 
 		reply = __ofono_error_failed(ctm->pending);
 		__ofono_dbus_pending_reply(&ctm->pending, reply);
-- 
1.7.3.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-12-17 16:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-15 21:06 [PATCH] ctm: use ofono_error instead of DBG for errors Gustavo F. Padovan
2010-12-15 21:23 ` Neil Jerram
2010-12-15 21:47   ` Gustavo F. Padovan
2010-12-15 22:00     ` Neil Jerram
2010-12-16 14:47 ` Lucas De Marchi
2010-12-16 18:04   ` [PATCH] " Gustavo F. Padovan
2010-12-17 16:29     ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.