projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed30638
)
(uname): Deref UNAME to get nodename.
author
Miles Bader
<miles@gnu.org>
Sun, 21 Jul 1996 02:33:13 +0000
(
02:33
+0000)
committer
Miles Bader
<miles@gnu.org>
Sun, 21 Jul 1996 02:33:13 +0000
(
02:33
+0000)
sysdeps/mach/hurd/uname.c
patch
|
blob
|
history
diff --git
a/sysdeps/mach/hurd/uname.c
b/sysdeps/mach/hurd/uname.c
index 5fac305522d3ad395e9d26a2ec674752f35a2278..c7787975524775d9fb7a31b6b9fe6165bc82ccae 100644
(file)
--- a/
sysdeps/mach/hurd/uname.c
+++ b/
sysdeps/mach/hurd/uname.c
@@
-30,7
+30,7
@@
uname (struct utsname *uname)
/* Fill in the hostname, which the proc server doesn't know. */
err = errno;
- if (__gethostname (uname
.nodename, sizeof uname.
nodename) < 0)
+ if (__gethostname (uname
->nodename, sizeof uname->
nodename) < 0)
{
if (errno == ENAMETOOLONG)
/* Ignore the error of the buffer being too small.