diff options
author | infirit <[email protected]> | 2014-12-18 13:08:14 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-18 13:08:14 +0100 |
commit | 9b124d7cac10ee7651879b4145c6c5b19677a975 (patch) | |
tree | d2f376dbe387dbd88852484a64934f9b7862b9ff | |
parent | 26f7ae206dc885755689893c77120a7f8bbbfb5b (diff) | |
download | mate-system-monitor-9b124d7cac10ee7651879b4145c6c5b19677a975.tar.bz2 mate-system-monitor-9b124d7cac10ee7651879b4145c6c5b19677a975.tar.xz |
system: Add machine architecture after the kernel version.
The kernel architecture is what is important here as this determines
if one can run 32bit or 64bit code.
fixes #43
-rw-r--r-- | src/sysinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysinfo.cpp b/src/sysinfo.cpp index fc7b3c9..2f0d5dc 100644 --- a/src/sysinfo.cpp +++ b/src/sysinfo.cpp @@ -169,7 +169,7 @@ namespace { void load_uname_info() { this->hostname = uname().nodename; - this->kernel = string(uname().sysname) + ' ' + uname().release; + this->kernel = string(uname().sysname) + ' ' + uname().release + ' ' + uname().machine; } |