diff options
author | brettw <brettw@chromium.org> | 2015-06-09 11:05:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-09 18:05:54 +0000 |
commit | 6ee6fd6efabf8b87324d0b233ea2332c4a0e1642 (patch) | |
tree | 42d916d8ab1f88a91cc10b79a8adb1a75da2cfaa /chromecast | |
parent | a99b6c8af0c0fec47f1aa46b4b8598b3586a7a69 (diff) | |
download | chromium_src-6ee6fd6efabf8b87324d0b233ea2332c4a0e1642.zip chromium_src-6ee6fd6efabf8b87324d0b233ea2332c4a0e1642.tar.gz chromium_src-6ee6fd6efabf8b87324d0b233ea2332c4a0e1642.tar.bz2 |
Move safe_strerror to posix directory and the base namespace.
Since this is a wrapper around a posix thing that doesn't fall under any other categories, the posix directory is probably the best place.
Review URL: https://codereview.chromium.org/1160373004
Cr-Commit-Position: refs/heads/master@{#333524}
Diffstat (limited to 'chromecast')
-rw-r--r-- | chromecast/base/process_utils.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chromecast/base/process_utils.cc b/chromecast/base/process_utils.cc index 901d53d..523fb1c 100644 --- a/chromecast/base/process_utils.cc +++ b/chromecast/base/process_utils.cc @@ -8,7 +8,7 @@ #include <stdio.h> #include "base/logging.h" -#include "base/safe_strerror_posix.h" +#include "base/posix/safe_strerror.h" #include "base/strings/string_util.h" namespace chromecast { @@ -22,7 +22,8 @@ bool GetAppOutput(const std::vector<std::string>& argv, std::string* output) { // Open the process. FILE* fp = popen(command.c_str(), "r"); if (!fp) { - LOG(ERROR) << "popen (" << command << ") failed: " << safe_strerror(errno); + LOG(ERROR) << "popen (" << command << ") failed: " + << base::safe_strerror(errno); return false; } |