From f5b46a89eddc5b0c68515cc18b9cc8211ff8e085 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Thu, 1 Dec 2011 15:30:17 +0100 Subject: [PATCH] uname(1) now reports whether the system is 32-bit or 64-bit. --- utils/uname.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/uname.cpp b/utils/uname.cpp index 607ebe49..ad7746c7 100644 --- a/utils/uname.cpp +++ b/utils/uname.cpp @@ -2,6 +2,6 @@ int main(int argc, char* argv[]) { - printf("Sortix\n"); + printf("Sortix %zu bit\n", sizeof(size_t) * 8UL); return 0; }