harvester/monitorplugins/mmcplugin/src/mmcmonitorao.cpp
changeset 60 79f826a55db2
parent 48 1389872e7c51
--- a/harvester/monitorplugins/mmcplugin/src/mmcmonitorao.cpp	Mon Sep 27 15:53:05 2010 +0300
+++ b/harvester/monitorplugins/mmcplugin/src/mmcmonitorao.cpp	Wed Oct 06 15:08:08 2010 +0300
@@ -332,12 +332,13 @@
 		if ( !(iPreviousDriveList[i] == 0 && iDriveList[i] == 0 && iMediaIdList[i] == 0) )
 			{
 		    TInt32 drive;
+		    TUint32 mediaId;
 			drive = iPreviousDriveList[i];
 		    WRITELOG1( "CMMCMonitorAO::PrintAllLists() - Previous drive element: %d", drive );
 			drive = iDriveList[i];
 		    WRITELOG1( "CMMCMonitorAO::PrintAllLists() - Current drive element : %d", drive );
-			drive = iMediaIdList[i];
-		    WRITELOG1( "CMMCMonitorAO::PrintAllLists() - Current MediaId       : %d", drive );
+		    mediaId = iMediaIdList[i];
+		    WRITELOG1( "CMMCMonitorAO::PrintAllLists() - Current MediaId       : %u", mediaId );
 			}
 		}
 	}