aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/lib/sockio-c.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d1e87ca7..6278c669 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-30 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * lib/sockio-c.c (oa_open_local_client_stream_socket): Use
+ OPENAXIOM_AF_LOCAL, not AF_LOCAL.
+
2008-08-29 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-driver.boot (initializeGlobalState): Parse --bootstrap.
diff --git a/src/lib/sockio-c.c b/src/lib/sockio-c.c
index 09f0b638..9fcd8cca 100644
--- a/src/lib/sockio-c.c
+++ b/src/lib/sockio-c.c
@@ -250,7 +250,7 @@ oa_open_local_client_stream_socket(const char* path)
return -1;
memset(&addr, 0, sizeof addr);
- addr.sun_family = AF_LOCAL;
+ addr.sun_family = OPENAXIOM_AF_LOCAL;
strncpy(addr.sun_path, path, sizeof(addr.sun_path) - 1);
if (connect(sock, (struct sockaddr*)&addr, sizeof addr) < 0) {
close(sock);