aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-07 09:24:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-07 09:24:48 +0000
commit0d012db3a887d14a5982b4d1bbd1c43a8ac60ccf (patch)
tree346675738b0dad8ecc01b048ce4ef76d9dceff22
parentMerge branch 'mouse-events-never-sent-to-client' (diff)
main: include uname.sysname when logging host architecture
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index c0dad5e3..b3953d22 100644
--- a/main.c
+++ b/main.c
@@ -349,7 +349,8 @@ main(int argc, char *const *argv)
if (uname(&name) < 0)
LOG_ERRNO("uname() failed");
else
- LOG_INFO("arch: %s/%zu-bit", name.machine, sizeof(void *) * 8);
+ LOG_INFO("arch: %s %s/%zu-bit",
+ name.sysname, name.machine, sizeof(void *) * 8);
}
setlocale(LC_CTYPE, "");