1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix kernel not using BRAND_DEFAULT_HOSTNAME.

This commit is contained in:
Jonas 'Sortie' Termansen 2016-09-26 17:12:02 +02:00
parent 6e16a2036e
commit 394d3d7115

View file

@ -32,7 +32,7 @@ namespace Sortix {
static kthread_mutex_t hostname_lock = KTHREAD_MUTEX_INITIALIZER;
static char hostname[HOST_NAME_MAX + 1] = "sortix";
static char hostname[HOST_NAME_MAX + 1] = BRAND_DEFAULT_HOSTNAME;
static size_t hostname_length = 6;
int sys_gethostname(char* dst_name, size_t dst_name_size)