aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-11 15:23:10 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-11 15:23:10 +0000
commit6f5f7f141167fd923caa7c6ce68ae5142931c636 (patch)
treee90a4dc22b69b84894f9edb472f3723ca1042fcd
parentshm: don't even try to punch a memfd hole in 32-bit (diff)
main: include our own bitness when logging the architecture
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index b40685be..3f5372bb 100644
--- a/main.c
+++ b/main.c
@@ -319,7 +319,7 @@ main(int argc, char *const *argv)
if (uname(&name) < 0)
LOG_ERRNO("uname() failed");
else
- LOG_INFO("arch: %s", name.machine);
+ LOG_INFO("arch: %s/%zu-bit, ", name.machine, sizeof(void *) * 8);
}
struct config conf = {NULL};