From e894c64677fdff084fc8a2fac46500d9a305a0b1 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 21 Jul 1996 02:33:13 +0000 Subject: (uname): Deref UNAME to get nodename. --- sysdeps/mach/hurd/uname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/mach') 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. -- cgit v1.2.3