From 80aea676e37ea925877aeee2ebd38b2db3f03736 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 5 Apr 1998 12:06:27 +0000 Subject: Update. 1998-04-05 Andreas Jaeger * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL instead of AF_FILE. --- manual/examples/mkfsock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manual') diff --git a/manual/examples/mkfsock.c b/manual/examples/mkfsock.c index 46729d1..8683fbd 100644 --- a/manual/examples/mkfsock.c +++ b/manual/examples/mkfsock.c @@ -5,7 +5,7 @@ #include #include -int +int make_named_socket (const char *filename) { struct sockaddr_un name; @@ -21,7 +21,7 @@ make_named_socket (const char *filename) } /* Bind a name to the socket. */ - name.sun_family = AF_FILE; + name.sun_family = AF_LOCAL; strncpy (name.sun_path, filename, sizeof (name.sun_path)); /* The size of the address is -- cgit v1.1