summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-21 02:33:13 +0000
committerMiles Bader <miles@gnu.org>1996-07-21 02:33:13 +0000
commite894c64677fdff084fc8a2fac46500d9a305a0b1 (patch)
treea2b0234cad8b85316fd242602a62dfadedc4b609 /sysdeps
parented30638ace1966555acc08568500709df99beafc (diff)
downloadglibc-e894c64677fdff084fc8a2fac46500d9a305a0b1.tar.gz
glibc-e894c64677fdff084fc8a2fac46500d9a305a0b1.tar.xz
glibc-e894c64677fdff084fc8a2fac46500d9a305a0b1.zip
(uname): Deref UNAME to get nodename.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/uname.c2
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.