Index: compiler-rt/trunk/test/msan/ioctl.cc =================================================================== --- compiler-rt/trunk/test/msan/ioctl.cc +++ compiler-rt/trunk/test/msan/ioctl.cc @@ -8,7 +8,7 @@ #include int main(int argc, char **argv) { - int fd = socket(AF_INET, SOCK_DGRAM, 0); + int fd = socket(AF_UNIX, SOCK_DGRAM, 0); unsigned int z; int res = ioctl(fd, FIOGETOWN, &z); Index: compiler-rt/trunk/test/msan/ioctl_custom.cc =================================================================== --- compiler-rt/trunk/test/msan/ioctl_custom.cc +++ compiler-rt/trunk/test/msan/ioctl_custom.cc @@ -14,7 +14,7 @@ #include int main(int argc, char **argv) { - int fd = socket(AF_INET, SOCK_STREAM, 0); + int fd = socket(AF_UNIX, SOCK_STREAM, 0); struct ifreq ifreqs[20]; struct ifconf ifc;