diff options
Diffstat (limited to 'net/ipv4/ipconfig.c')
-rw-r--r-- | net/ipv4/ipconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 99d50065aa79..f8ce84759159 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c | |||
@@ -366,7 +366,7 @@ static int __init ic_defaults(void) | |||
366 | */ | 366 | */ |
367 | 367 | ||
368 | if (!ic_host_name_set) | 368 | if (!ic_host_name_set) |
369 | sprintf(system_utsname.nodename, "%u.%u.%u.%u", NIPQUAD(ic_myaddr)); | 369 | sprintf(init_utsname()->nodename, "%u.%u.%u.%u", NIPQUAD(ic_myaddr)); |
370 | 370 | ||
371 | if (root_server_addr == INADDR_NONE) | 371 | if (root_server_addr == INADDR_NONE) |
372 | root_server_addr = ic_servaddr; | 372 | root_server_addr = ic_servaddr; |