aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 98b16a59b..a39da78ed 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -683,8 +683,8 @@ get_uname(void)
if (!uname_result_is_set) {
#ifdef HAVE_UNAME
if (!uname((&u))) {
- snprintf(uname_result, 255, "%s %s %s %s %s",
- u.sysname, u.nodename, u.release, u.version, u.machine);
+ snprintf(uname_result, 255, "%s %s %s",
+ u.sysname, u.nodename, u.machine);
uname_result[255] = '\0';
} else
#endif