diff -r 26645d81f48d -r cc28652e0254 loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp --- a/loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp Tue Aug 31 16:57:14 2010 +0300 +++ b/loggingservices/eventlogger/LogServ/src/LogServResourceInterpreter.cpp Wed Sep 01 12:39:58 2010 +0100 @@ -133,8 +133,7 @@ // Check the entry exists on this drive (e.g. if we are running the log server // from RAM, then default to the ROM if no RSC on the current drive exists). TEntry fsEntry; - TInt err = iFsSession.Entry(fileName, fsEntry); - if ( err == KErrNotFound || err == KErrPathNotFound ) + if (iFsSession.Entry(fileName, fsEntry) == KErrNotFound) { // Switch to ROM (we might already have been launching from the ROM, // in which case this will have no effect anyway).