aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/unixsocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/unixsocket.c')
-rw-r--r--src/tools/unixsocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/unixsocket.c b/src/tools/unixsocket.c
index 88475ea3e..c4302eed3 100644
--- a/src/tools/unixsocket.c
+++ b/src/tools/unixsocket.c
@@ -1,5 +1,5 @@
1#include <stdio.h> 1#include <stdio.h>
2#include <sys/types.h> 2#include <sys/types.h>
3#include <sys/socket.h> 3#include <sys/socket.h>
4#include <sys/un.h> 4#include <sys/un.h>
5 5
@@ -21,7 +21,7 @@ int main(void) {
21 fprintf(stderr, "Error: cannot connect to socket\n"); 21 fprintf(stderr, "Error: cannot connect to socket\n");
22 return 1; 22 return 1;
23 } 23 }
24 24
25 printf("connected to %s\n", socketpath); 25 printf("connected to %s\n", socketpath);
26 close(s); 26 close(s);
27 27