telephonyserverplugins/common_tsy/commontsy/src/mmtsy/ChargingStatusObserver.cpp
changeset 73 70d75957b98f
parent 44 8b72faa1200f
--- a/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/ChargingStatusObserver.cpp	Tue Sep 14 17:55:14 2010 +0100
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/ChargingStatusObserver.cpp	Thu Sep 23 14:44:40 2010 +0100
@@ -86,7 +86,7 @@
     
 	if ( KErrNone != errorStatus )
 	    {
-OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CCHARGINGSTATUSOBSERVER_RUNL_1, "TSY: CChargingStatusObserver::RunL - iStatus: %d", errorStatus );
+OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CCHARGINGSTATUSOBSERVER_RUNL_1, "TSY: CChargingStatusObserver::RunL - iStatus: %{TSymbianErrorCodes}", errorStatus );
 	    iChargingStatusNotifier.NotifyChargingStatus( errorStatus,
 	        batteryInfo );
         return;
@@ -95,7 +95,7 @@
     // property updated, get new value
     TInt level( 0 );
     TInt error = iChargingStatus.Get( level );
-OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CCHARGINGSTATUSOBSERVER_RUNL_2, "TSY: CChargingStatusObserver::RunL error: %d", error);
+OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CCHARGINGSTATUSOBSERVER_RUNL_2, "TSY: CChargingStatusObserver::RunL error: %{TSymbianErrorCodes}", error);
 
     if ( KErrNone == error )
         {