diff options
author | dgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-04 22:29:14 +0000 |
---|---|---|
committer | dgrogan@chromium.org <dgrogan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-04 22:29:14 +0000 |
commit | 4ed3fb1c7c291e0ca10fb8a37e3babee9ecf0fa1 (patch) | |
tree | fd733b0f3e57dbc23a39a9b6bd95ece3fd3fe4ca /third_party/leveldatabase | |
parent | 3cfc0da0fa76b3d5a178f3083700a951f38d5d10 (diff) | |
download | chromium_src-4ed3fb1c7c291e0ca10fb8a37e3babee9ecf0fa1.zip chromium_src-4ed3fb1c7c291e0ca10fb8a37e3babee9ecf0fa1.tar.gz chromium_src-4ed3fb1c7c291e0ca10fb8a37e3babee9ecf0fa1.tar.bz2 |
Make leveldb use chromium's StringPrintV instead of StringPrintf
StringPrintf called with a va_list was causing invalid memory accesses.
BUG=
TEST=
Review URL: http://codereview.chromium.org/10356009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135464 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/leveldatabase')
-rw-r--r-- | third_party/leveldatabase/env_chromium.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc index ed47c45..6056de4 100644 --- a/third_party/leveldatabase/env_chromium.cc +++ b/third_party/leveldatabase/env_chromium.cc @@ -430,7 +430,7 @@ class ChromiumEnv : public Env { } virtual void Logv(const char* format, va_list ap) { - VLOG(5) << "LevelDB: " << filename_ << " " << StringPrintf(format, ap); + VLOG(5) << "LevelDB: " << filename_ << " " << base::StringPrintV(format, ap); } private: |