diff options
Diffstat (limited to 'src/memline.c')
-rw-r--r-- | src/memline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c index b9de707f60..05bc24e277 100644 --- a/src/memline.c +++ b/src/memline.c @@ -345,7 +345,7 @@ int ml_open(buf_T *buf) set_b0_fname(b0p, buf); (void)os_get_user_name((char *)b0p->b0_uname, B0_UNAME_SIZE); b0p->b0_uname[B0_UNAME_SIZE - 1] = NUL; - mch_get_host_name(b0p->b0_hname, B0_HNAME_SIZE); + os_get_hostname((char *)b0p->b0_hname, B0_HNAME_SIZE); b0p->b0_hname[B0_HNAME_SIZE - 1] = NUL; long_to_char(os_get_pid(), b0p->b0_pid); if (*buf->b_p_key != NUL) |