summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-07-16 22:40:57 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-07-16 22:41:41 +0200
commitba768f83cf4035d5e42d3a5b242ab7b371ec2634 (patch)
tree499276dd16a218cc480a5222fa73a13969da783a /sal
parent3201fd2316bb4aa420803c86d1aa7f71ba355f29 (diff)
Fix "Same expression on both sides of '|'"
Change-Id: I8f71f0b20f3f1f41acde05d59a9b94d1ce942a7b
Diffstat (limited to 'sal')
-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);
}