diff options
-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 5fac305..c778797 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. |