diff options
author | Miles Bader <miles@gnu.org> | 1996-07-21 02:33:13 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-07-21 02:33:13 +0000 |
commit | e894c64677fdff084fc8a2fac46500d9a305a0b1 (patch) | |
tree | a2b0234cad8b85316fd242602a62dfadedc4b609 /sysdeps/mach/hurd | |
parent | ed30638ace1966555acc08568500709df99beafc (diff) | |
download | glibc-e894c64677fdff084fc8a2fac46500d9a305a0b1.tar glibc-e894c64677fdff084fc8a2fac46500d9a305a0b1.tar.gz glibc-e894c64677fdff084fc8a2fac46500d9a305a0b1.tar.bz2 glibc-e894c64677fdff084fc8a2fac46500d9a305a0b1.zip |
(uname): Deref UNAME to get nodename.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/uname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/uname.c b/sysdeps/mach/hurd/uname.c index 5fac305522..c778797552 100644 --- 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. |