about summary refs log tree commit diff
path: root/manual/examples/mkfsock.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-05 12:06:27 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-05 12:06:27 +0000
commit80aea676e37ea925877aeee2ebd38b2db3f03736 (patch)
tree0eec84d66113e4514b21e59f0add7f0e9c326080 /manual/examples/mkfsock.c
parenta904b5d93a2b54c611beb9c50ed274c5d77ec7b4 (diff)
downloadglibc-80aea676e37ea925877aeee2ebd38b2db3f03736.tar.gz
glibc-80aea676e37ea925877aeee2ebd38b2db3f03736.tar.xz
glibc-80aea676e37ea925877aeee2ebd38b2db3f03736.zip
Update.
1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
	instead of AF_FILE.
Diffstat (limited to 'manual/examples/mkfsock.c')
-rw-r--r--manual/examples/mkfsock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/examples/mkfsock.c b/manual/examples/mkfsock.c
index 46729d13f0..8683fbdc54 100644
--- a/manual/examples/mkfsock.c
+++ b/manual/examples/mkfsock.c
@@ -5,7 +5,7 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 
-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