summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-09-02 03:24:30 +0000
committerRoland McGrath <roland@gnu.org>1994-09-02 03:24:30 +0000
commit5922e783a6170f2619656d9454f35e11fd9b3804 (patch)
treec742a228beb0aeecc1244e046bd1aa65d387879a /sysdeps
parentd9d28ccacfdeaf65eec577aeca60e4ff29b9cb37 (diff)
(connect): Fix accidental renaming of sun_path to sun_file_name.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/connect.c b/sysdeps/mach/hurd/connect.c
index 576c1e7091..e015a14c50 100644
--- a/sysdeps/mach/hurd/connect.c
+++ b/sysdeps/mach/hurd/connect.c
@@ -41,7 +41,7 @@ DEFUN(connect, (fd, addr, len),
/* For the local domain, we must look up the name as a file and talk
to it with the ifsock protocol. */
struct sockaddr_un *unaddr = (struct sockaddr_un *) addr;
- file_t file = __file_name_lookup (unaddr->sun_file_name, 0, 0);
+ file_t file = __file_name_lookup (unaddr->sun_path, 0, 0);
if (file == MACH_PORT_NULL)
return -1;
err = __ifsock_getsockaddr (file, &aport);