summaryrefslogtreecommitdiffstats
path: root/components/nacl/loader
diff options
context:
space:
mode:
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-21 20:06:23 +0000
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-21 20:06:23 +0000
commitad8cfa996623e585ea16665fc18db174fe947121 (patch)
treec44f98c608a090dccfc90aa81c95c814f26a7775 /components/nacl/loader
parent0f4dffbf1a776c3bdd124be30e983247fb4d6896 (diff)
downloadchromium_src-ad8cfa996623e585ea16665fc18db174fe947121.zip
chromium_src-ad8cfa996623e585ea16665fc18db174fe947121.tar.gz
chromium_src-ad8cfa996623e585ea16665fc18db174fe947121.tar.bz2
Removed LOG_GETLASTERROR and LOG_ERRNO macros.
Most code uses PLOG with the same effect. TBR=bradchen NOTRY=true Review URL: https://codereview.chromium.org/281223002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/nacl/loader')
-rw-r--r--components/nacl/loader/nonsfi/irt_memory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/nacl/loader/nonsfi/irt_memory.cc b/components/nacl/loader/nonsfi/irt_memory.cc
index 06f76ea..89a3719 100644
--- a/components/nacl/loader/nonsfi/irt_memory.cc
+++ b/components/nacl/loader/nonsfi/irt_memory.cc
@@ -58,7 +58,7 @@ int IrtMMap(void** addr, size_t len, int prot, int flags,
if (host_prot & PROT_EXEC) {
if (mprotect(result, len, host_prot) != 0) {
// This aborts here because it cannot easily undo the mmap() call.
- LOG_ERRNO(FATAL) << "IrtMMap: mprotect to turn on PROT_EXEC failed.";
+ PLOG(FATAL) << "IrtMMap: mprotect to turn on PROT_EXEC failed.";
}
}