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
1 changed files with 1 additions and 1 deletions

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)