diff options
Diffstat (limited to 'test/filters/syscall_test.c')
-rw-r--r-- | test/filters/syscall_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/filters/syscall_test.c b/test/filters/syscall_test.c index 48e8f29f5..641eb0c00 100644 --- a/test/filters/syscall_test.c +++ b/test/filters/syscall_test.c | |||
@@ -45,14 +45,14 @@ int main(int argc, char **argv) { | |||
45 | } | 45 | } |
46 | else | 46 | else |
47 | close(sock); | 47 | close(sock); |
48 | 48 | ||
49 | printf("testing socket AF_UNIX\n"); | 49 | printf("testing socket AF_UNIX\n"); |
50 | if ((sock = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { | 50 | if ((sock = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { |
51 | perror("socket"); | 51 | perror("socket"); |
52 | } | 52 | } |
53 | else | 53 | else |
54 | close(sock); | 54 | close(sock); |
55 | 55 | ||
56 | // root needed to be able to handle this | 56 | // root needed to be able to handle this |
57 | printf("testing socket AF_PACKETX\n"); | 57 | printf("testing socket AF_PACKETX\n"); |
58 | if ((sock = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_ARP))) < 0) { | 58 | if ((sock = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_ARP))) < 0) { |