diff --git a/kernel/src/main.cpp b/kernel/src/main.cpp index 232f4d23..852afba3 100644 --- a/kernel/src/main.cpp +++ b/kernel/src/main.cpp @@ -32,7 +32,7 @@ void reap_thread() [[noreturn]] void init() { - kinfoln("Starting Moon %s, built on %s at %s", MOON_VERSION, __DATE__, __TIME__); + kinfoln("Starting Moon %s %s", MOON_VERSION, MOON_RELEASE); // Default hostname if nobody from userspace changes it set_host_name("moon"_sv); diff --git a/kernel/src/sys/uname.cpp b/kernel/src/sys/uname.cpp index 8a41cad0..59387a7c 100644 --- a/kernel/src/sys/uname.cpp +++ b/kernel/src/sys/uname.cpp @@ -25,7 +25,6 @@ Result sys_uname(Registers*, SyscallArgs args) strncpy(result.nodename, s_hostname.chars(), _UTSNAME_LENGTH); strncpy(result.release, MOON_VERSION, _UTSNAME_LENGTH); - // FIXME: Hardcode this at build time instead of in code (should be the short commit hash). strncpy(result.version, MOON_RELEASE, _UTSNAME_LENGTH); strncpy(result.machine, CPU::platform_string().chars(), _UTSNAME_LENGTH);