summaryrefslogtreecommitdiffstats
path: root/chrome/browser/visitedlink_master.cc
diff options
context:
space:
mode:
authormmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 00:41:45 +0000
committermmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 00:41:45 +0000
commit5115474e2e2c773b53fc1e111426e8924deeadb7 (patch)
tree6bdd56cdd544a3b331db7612781ae347739c4e82 /chrome/browser/visitedlink_master.cc
parent609990b5b4254601504935427483e3fc22cfde80 (diff)
downloadchromium_src-5115474e2e2c773b53fc1e111426e8924deeadb7.zip
chromium_src-5115474e2e2c773b53fc1e111426e8924deeadb7.tar.gz
chromium_src-5115474e2e2c773b53fc1e111426e8924deeadb7.tar.bz2
Use %ls instead of %s in wprintf format strings for wchar_t fields.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@846 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink_master.cc')
-rw-r--r--chrome/browser/visitedlink_master.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/visitedlink_master.cc b/chrome/browser/visitedlink_master.cc
index 81796aa..4519bfc 100644
--- a/chrome/browser/visitedlink_master.cc
+++ b/chrome/browser/visitedlink_master.cc
@@ -287,7 +287,7 @@ std::wstring VisitedLinkMaster::GetSharedMemoryName() const {
if (profile_)
profile_id = profile_->GetID().c_str();
- return StringPrintf(L"GVisitedLinks_%lu_%lu_%s",
+ return StringPrintf(L"GVisitedLinks_%lu_%lu_%ls",
GetCurrentProcessId(), shared_memory_serial_,
profile_id.c_str());
}