From 9b124d7cac10ee7651879b4145c6c5b19677a975 Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 18 Dec 2014 13:08:14 +0100 Subject: 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 --- src/sysinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sysinfo.cpp') 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; } -- cgit v1.2.1