Bug 1353332 - sys_info_posix.cc should declare correctly struct utsname (r=billm)
authorPetr Sumbera <petr.sumbera@oracle.com>
Tue, 04 Apr 2017 12:58:50 -0700
changeset 351193 4c66be93ecff503f1c7fc807839ade42f8b10be8
parent 351192 8b7e27246485369587088ec572f59f397c4bff72
child 351194 22c341bd832a8686fffa0a7bb6dfc3aba086ffe1
push id88816
push userwmccloskey@mozilla.com
push dateTue, 04 Apr 2017 21:02:54 +0000
treeherdermozilla-inbound@4c66be93ecff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbillm
bugs1353332
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1353332 - sys_info_posix.cc should declare correctly struct utsname (r=billm) MozReview-Commit-ID: IwJlsEhfyiw
ipc/chromium/src/base/sys_info_posix.cc
--- a/ipc/chromium/src/base/sys_info_posix.cc
+++ b/ipc/chromium/src/base/sys_info_posix.cc
@@ -116,27 +116,27 @@ std::wstring SysInfo::GetEnvVar(const wc
     return L"";
   } else {
     return UTF8ToWide(value);
   }
 }
 
 // static
 std::string SysInfo::OperatingSystemName() {
-  utsname info;
+  struct utsname info;
   if (uname(&info) < 0) {
     NOTREACHED();
     return "";
   }
   return std::string(info.sysname);
 }
 
 // static
 std::string SysInfo::CPUArchitecture() {
-  utsname info;
+  struct utsname info;
   if (uname(&info) < 0) {
     NOTREACHED();
     return "";
   }
   return std::string(info.machine);
 }
 
 // static