aboutsummaryrefslogtreecommitdiffstats
path: root/rsh.c
diff options
context:
space:
mode:
authorEdgar Toernig <froese@gmx.de>2005-04-30 09:51:03 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-30 09:51:03 -0700
commitae200ee594545be43ed9dfb51c9db8e1a014a8f5 (patch)
tree983166efa5166ecf0667187ffc037f850669afed /rsh.c
parentb6829693676c882ecb0d8ebc0a3a083e5e38131e (diff)
downloadgit-ae200ee594545be43ed9dfb51c9db8e1a014a8f5.tar.gz
[PATCH] compat: replace AF_LOCAL with AF_UNIX
There's no AF_LOCAL in POSIX
Diffstat (limited to 'rsh.c')
-rw-r--r--rsh.c2
1 files changed, 1 insertions, 1 deletions
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()) {