aboutsummaryrefslogtreecommitdiffstats
path: root/test/filters/syscall_test.c
diff options
context:
space:
mode:
authorLibravatar Fred Barclay <Fred-Barclay@users.noreply.github.com>2017-05-24 14:38:01 -0500
committerLibravatar Fred Barclay <Fred-Barclay@users.noreply.github.com>2017-05-24 14:38:01 -0500
commit997a93efbdcbbaeed517e0bdc5283e9d8b31f422 (patch)
treecbb47fb1b41ced351501686e3fdf9aaf46b31414 /test/filters/syscall_test.c
parentRemove trailing whitespace from platform (diff)
downloadfirejail-997a93efbdcbbaeed517e0bdc5283e9d8b31f422.tar.gz
firejail-997a93efbdcbbaeed517e0bdc5283e9d8b31f422.tar.zst
firejail-997a93efbdcbbaeed517e0bdc5283e9d8b31f422.zip
strip trailing whitespace from test/
Diffstat (limited to 'test/filters/syscall_test.c')
-rw-r--r--test/filters/syscall_test.c4
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) {