summaryrefslogtreecommitdiffstats
path: root/chrome/browser/crash_handler_host_linux.cc
diff options
context:
space:
mode:
authoryfriedman@chromium.org <yfriedman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-04 20:02:57 +0000
committeryfriedman@chromium.org <yfriedman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-04 20:02:57 +0000
commit8053b61bb124e4d3479e459703bfc4ea56b9cfa8 (patch)
tree94bc9ec3b726f6b7849deeefb2415c128c6e1aac /chrome/browser/crash_handler_host_linux.cc
parent3897fed4b4bdcf7bafc57898be921228a8012a77 (diff)
downloadchromium_src-8053b61bb124e4d3479e459703bfc4ea56b9cfa8.zip
chromium_src-8053b61bb124e4d3479e459703bfc4ea56b9cfa8.tar.gz
chromium_src-8053b61bb124e4d3479e459703bfc4ea56b9cfa8.tar.bz2
Fix breakpad compilation on Android.
base::FileDescriptorGetInode expects a pointer of type ino_t Review URL: https://chromiumcodereview.appspot.com/10920060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/crash_handler_host_linux.cc')
-rw-r--r--chrome/browser/crash_handler_host_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/crash_handler_host_linux.cc b/chrome/browser/crash_handler_host_linux.cc
index 8b6afd973..7444e96 100644
--- a/chrome/browser/crash_handler_host_linux.cc
+++ b/chrome/browser/crash_handler_host_linux.cc
@@ -261,7 +261,7 @@ void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) {
// calling sendmsg(). We can thus not reliably look for with with
// FindProcessHoldingSocket(). But by necessity, it has to keep the
// partner_fd open until the crashdump is complete.
- uint64_t inode_number;
+ ino_t inode_number;
if (!base::FileDescriptorGetInode(&inode_number, partner_fd)) {
LOG(WARNING) << "Failed to get inode number for passed socket";
(void) HANDLE_EINTR(close(partner_fd));