summaryrefslogtreecommitdiff
path: root/test/msan/ioctl_custom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/msan/ioctl_custom.cc')
-rw-r--r--test/msan/ioctl_custom.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/msan/ioctl_custom.cc b/test/msan/ioctl_custom.cc
index 6df22d75e95e9..eaab633845829 100644
--- a/test/msan/ioctl_custom.cc
+++ b/test/msan/ioctl_custom.cc
@@ -14,7 +14,7 @@
#include <unistd.h>
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;