summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-18 13:08:14 +0100
committerinfirit <[email protected]>2014-12-18 13:08:14 +0100
commit9b124d7cac10ee7651879b4145c6c5b19677a975 (patch)
treed2f376dbe387dbd88852484a64934f9b7862b9ff /src
parent26f7ae206dc885755689893c77120a7f8bbbfb5b (diff)
downloadmate-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
Diffstat (limited to 'src')
-rw-r--r--src/sysinfo.cpp2
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;
}