kernel: Log hostname changes

This commit is contained in:
apio 2023-07-10 13:04:40 +02:00
parent a1b92fcc3f
commit e3552d9df0
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -1,3 +1,4 @@
#include "Log.h"
#include "arch/CPU.h" #include "arch/CPU.h"
#include "config.h" #include "config.h"
#include "memory/MemoryManager.h" #include "memory/MemoryManager.h"
@ -51,5 +52,7 @@ Result<u64> sys_sethostname(Registers*, SyscallArgs args)
s_hostname.adopt(new_hostname); s_hostname.adopt(new_hostname);
kinfoln("System hostname updated to '%s'", s_hostname.chars());
return 0; return 0;
} }