userlibandfileserver/fileserver/sfile/sf_dir.cpp
changeset 299 b5a01337d018
parent 243 c7a0ce20c48c
--- a/userlibandfileserver/fileserver/sfile/sf_dir.cpp	Tue Oct 26 12:49:20 2010 +0100
+++ b/userlibandfileserver/fileserver/sfile/sf_dir.cpp	Mon Nov 01 20:11:36 2010 +0000
@@ -149,7 +149,7 @@
 	TInt r=ParseSubstPtr0(aRequest,aRequest->Src());
 	if (r!=KErrNone)
 		return(r);
-	r=PathCheck(aRequest,aRequest->Src().FullName().Mid(2),&KCapFsSysDirOpen,&KCapFsPriDirOpen, __PLATSEC_DIAGNOSTIC_STRING("Dir Open"));
+	r=PathCheck(aRequest->Message(),aRequest->Src().FullName().Mid(2),&KCapFsSysDirOpen,&KCapFsPriDirOpen, __PLATSEC_DIAGNOSTIC_STRING("Dir Open"));
 	if(r != KErrNone)
 		return r;
 	return KErrNone;