sysstatemgmt/systemstatemgr/ss/src/fireandforget.cpp
changeset 76 cb32bcc88bad
parent 0 4e1aa6a622a0
--- a/sysstatemgmt/systemstatemgr/ss/src/fireandforget.cpp	Wed Sep 29 15:13:21 2010 +0300
+++ b/sysstatemgmt/systemstatemgr/ss/src/fireandforget.cpp	Fri Oct 08 14:33:25 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -17,6 +17,8 @@
 #include "timeoutwaiter.h"
 #include "ssmdebug.h"
 
+#include <f32file.h>
+
 _LIT(KApStartDLL, "apstart.dll");
 _LIT( KSysMonProxyDLL, "loadsysmon.dll" );
 typedef CApaStarter* (*TFuncNewL)( void );
@@ -75,7 +77,7 @@
 		TFullName searchTerm(iStartupProperties->FileName());
 		_LIT(KSearchAny, "*");
 		searchTerm += KSearchAny;
- 	    TFindProcess find(searchTerm);
+ 	    TFindProcess find(TParsePtrC(searchTerm).NameAndExt());
 		TFullName name;
 		err = find.Next(name);
 		if(err == KErrNone)