about summary refs log tree commit diff
diff options
context:
space:
mode:
-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.