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:
parent
6e16a2036e
commit
394d3d7115
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue