diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-02-26 16:15:17 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-02-26 16:15:17 +0100 |
commit | f1c57bfaef45b20640aa171e5982f60e629b44b5 (patch) | |
tree | 304fff1a6cc5512f3771373dee52d9a3a8444a11 /src/lib | |
parent | 49ffdfd539fc7de2c41127fd9b29ad8b90839238 (diff) | |
parent | c280c375ca6987f3ee8f6856b4c4c445efa7f6a4 (diff) | |
download | ouroboros-f1c57bfaef45b20640aa171e5982f60e629b44b5.tar.gz ouroboros-f1c57bfaef45b20640aa171e5982f60e629b44b5.zip |
Merged in sandervrijders/ouroboros/be-bugfixes (pull request #15)
lib: Add identifier for non-literal string
Diffstat (limited to 'src/lib')
-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 0ebad842..ef4b3a47 100644 --- a/src/lib/sockets.c +++ b/src/lib/sockets.c @@ -79,7 +79,7 @@ int server_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 (bind(sockfd, (struct sockaddr *) &serv_addr, |