summaryrefslogtreecommitdiff
path: root/sal/osl/unx/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/profile.c')
-rw-r--r--sal/osl/unx/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/profile.c b/sal/osl/unx/profile.c
index 773630592d3e..e51fdcfb53a3 100644
--- a/sal/osl/unx/profile.c
+++ b/sal/osl/unx/profile.c
@@ -1303,7 +1303,7 @@ static osl_TStamp closeFileImpl(osl_TFile* pFile, oslProfileOption Flags)
{
stamp = OslProfile_getFileStamp(pFile);
- if ( Flags & (osl_Profile_WRITELOCK | osl_Profile_WRITELOCK ) )
+ if ( Flags & (osl_Profile_WRITELOCK | osl_Profile_READLOCK ) )
{
OslProfile_lockFile(pFile, un_lock);
}