summary refs log tree commit diff
path: root/manual/examples/filecli.c
diff options
context:
space:
mode:
Diffstat (limited to 'manual/examples/filecli.c')
-rw-r--r--manual/examples/filecli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/examples/filecli.c b/manual/examples/filecli.c
index b77ae6763e..9f64445fa9 100644
--- a/manual/examples/filecli.c
+++ b/manual/examples/filecli.c
@@ -24,7 +24,7 @@ main (void)
   sock = make_named_socket (CLIENT);
 
   /* Initialize the server socket address. */
-  name.sun_family = AF_UNIX;
+  name.sun_family = AF_LOCAL;
   strcpy (name.sun_path, SERVER);
   size = strlen (name.sun_path) + sizeof (name.sun_family);