Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115403
b: refs/heads/master
c: 63ffc23
h: refs/heads/master
i:
  115401: 7b9572c
  115399: 4d58e71
v: v3
  • Loading branch information
Cedric Le Goater authored and Trond Myklebust committed Oct 7, 2008
1 parent bcb5ba2 commit 50e41ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d7fb120774f062ce7db439863ab5d4190d6f989c
refs/heads/master: 63ffc23d307c9534c732edd87895e37b223004a3
4 changes: 2 additions & 2 deletions trunk/net/sunrpc/clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ static struct rpc_clnt * rpc_new_client(const struct rpc_create_args *args, stru
}

/* save the nodename */
clnt->cl_nodelen = strlen(utsname()->nodename);
clnt->cl_nodelen = strlen(init_utsname()->nodename);
if (clnt->cl_nodelen > UNX_MAXNODENAME)
clnt->cl_nodelen = UNX_MAXNODENAME;
memcpy(clnt->cl_nodename, utsname()->nodename, clnt->cl_nodelen);
memcpy(clnt->cl_nodename, init_utsname()->nodename, clnt->cl_nodelen);
rpc_register_client(clnt);
return clnt;

Expand Down

0 comments on commit 50e41ba

Please sign in to comment.