projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] namespaces: utsname: use init_utsname when appropriate
[deliverable/linux.git]
/
net
/
ipv4
/
ipconfig.c
diff --git
a/net/ipv4/ipconfig.c
b/net/ipv4/ipconfig.c
index 99d50065aa7904813ed2351da0d3651bdb5f7f83..f8ce8475915966c7d10abbec1542f71b1ac10d0d 100644
(file)
--- a/
net/ipv4/ipconfig.c
+++ b/
net/ipv4/ipconfig.c
@@
-366,7
+366,7
@@
static int __init ic_defaults(void)
*/
if (!ic_host_name_set)
- sprintf(
system_utsname.
nodename, "%u.%u.%u.%u", NIPQUAD(ic_myaddr));
+ sprintf(
init_utsname()->
nodename, "%u.%u.%u.%u", NIPQUAD(ic_myaddr));
if (root_server_addr == INADDR_NONE)
root_server_addr = ic_servaddr;
This page took
0.0306 seconds
and
5
git commands to generate.