Skip to content

Commit 1274a07

Browse files
committed
[NFC][asan] Use more common socket type in test
1 parent db8a88f commit 1274a07

File tree

1 file changed

+1
-1
lines changed
  • compiler-rt/test/asan/TestCases/Posix

1 file changed

+1
-1
lines changed

compiler-rt/test/asan/TestCases/Posix/ioctl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#endif
1616

1717
int main(int argc, char **argv) {
18-
int fd = socket(AF_INET, SOCK_DGRAM, 0);
18+
int fd = socket(AF_UNIX, SOCK_DGRAM, 0);
1919

2020
int nonblock;
2121
int res = ioctl(fd, FIONBIO, &nonblock + 1);

0 commit comments

Comments
 (0)