diff options
Diffstat (limited to 'src/lib/sockets.c')
-rw-r--r-- | src/lib/sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/sockets.c b/src/lib/sockets.c index 095c9e5c..0ebad842 100644 --- a/src/lib/sockets.c +++ b/src/lib/sockets.c @@ -45,7 +45,7 @@ int client_socket_open(char * file_name) } serv_addr.sun_family = AF_UNIX; - sprintf(serv_addr.sun_path, file_name); + sprintf(serv_addr.sun_path, "%s", file_name); if (connect(sockfd, (struct sockaddr *) &serv_addr, |