From ae200ee594545be43ed9dfb51c9db8e1a014a8f5 Mon Sep 17 00:00:00 2001 From: Edgar Toernig Date: Sat, 30 Apr 2005 09:51:03 -0700 Subject: [PATCH] compat: replace AF_LOCAL with AF_UNIX There's no AF_LOCAL in POSIX --- rsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rsh.c') diff --git a/rsh.c b/rsh.c index af2f47b174..2a52e59816 100644 --- a/rsh.c +++ b/rsh.c @@ -48,7 +48,7 @@ int setup_connection(int *fd_in, int *fd_out, char *remote_prog, } } strcpy(posn, " -"); - if (socketpair(AF_LOCAL, SOCK_STREAM, 0, sv)) { + if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) { return error("Couldn't create socket"); } if (!fork()) { -- cgit v1.2.3