summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index c1366a91a3..75e5db8cc7 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -605,8 +605,8 @@ get_uname(void)
#ifdef HAVE_UNAME
if (uname(&u) != -1) {
/* (linux says 0 is success, solaris says 1 is success) */
- tor_snprintf(uname_result, sizeof(uname_result), "%s %s %s",
- u.sysname, u.nodename, u.machine);
+ tor_snprintf(uname_result, sizeof(uname_result), "%s %s",
+ u.sysname, u.machine);
} else
#endif
{