diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-07-16 22:40:57 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-07-16 22:41:41 +0200 |
commit | ba768f83cf4035d5e42d3a5b242ab7b371ec2634 (patch) | |
tree | 499276dd16a218cc480a5222fa73a13969da783a /sal | |
parent | 3201fd2316bb4aa420803c86d1aa7f71ba355f29 (diff) |
Fix "Same expression on both sides of '|'"
Change-Id: I8f71f0b20f3f1f41acde05d59a9b94d1ce942a7b
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/profile.c | 2 |
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); } |