summaryrefslogtreecommitdiffstats
path: root/sal
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-13 09:23:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-13 09:23:25 +0200
commit19650d0e27be97a4485998f3e8863c09a6f5cc74 (patch)
tree55034bf3d2449ecc40b5d6a49a95ca94b564c16c /sal
parentOSL_TRACE->SAL in avmedia..canvas (diff)
downloadcore-19650d0e27be97a4485998f3e8863c09a6f5cc74.tar.gz
core-19650d0e27be97a4485998f3e8863c09a6f5cc74.zip
fix windows build after OSL_TRACE->SAL changes
Change-Id: I345343f84f66299e8b91b31af0290ed0c622bf8d
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/profile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/w32/profile.cxx b/sal/osl/w32/profile.cxx
index 22ac01fe1882..6928c61d1e34 100644
--- a/sal/osl/w32/profile.cxx
+++ b/sal/osl/w32/profile.cxx
@@ -354,7 +354,7 @@ static bool writeProfileImpl(osl_TFile* pFile)
if ( bRet == 0 || BytesWritten == 0 )
{
OSL_ENSURE(bRet,"WriteFile failed!!!");
- SAL_INFO("sal", "write failed '%s'",strerror(errno));
+ SAL_WARN("sal", "write failed " << strerror(errno));
return false;
}
@@ -1031,7 +1031,7 @@ static osl_TFile* openFileImpl(rtl_uString * strFileName, oslProfileOption Profi
else
{
#ifdef DEBUG_OSL_PROFILE
- SAL_INFO("sal", "opening '%s' read/write",pszFilename);
+ SAL_INFO("sal", "opening read/write " << pszFilename);
#endif
if ((pFile->m_Handle = CreateFileW( reinterpret_cast<LPCWSTR>(rtl_uString_getStr( strFileName )), GENERIC_READ | GENERIC_WRITE,
@@ -1051,7 +1051,7 @@ static osl_TFile* openFileImpl(rtl_uString * strFileName, oslProfileOption Profi
if ( ProfileFlags & (osl_Profile_WRITELOCK | osl_Profile_READLOCK ) )
{
#ifdef DEBUG_OSL_PROFILE
- SAL_INFO("sal", "locking '%s' file",pszFilename);
+ SAL_INFO("sal", "locking file " << pszFilename);
#endif
lockFile(pFile, bWriteable ? write_lock : read_lock);