fd = create_local_socket(socket_name, &unix_addr,
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IWOTH);
if (fd < 0) {
- PARA_EMERG_LOG("%s", "can not connect to socket\n");
+ PARA_EMERG_LOG("can not connect to socket\n");
exit(EXIT_FAILURE); /* do not unlink socket */
}
if (listen(fd , 5) < 0) {
- PARA_EMERG_LOG("%s", "can not listen on socket\n");
+ PARA_EMERG_LOG("can not listen on socket\n");
exit(EXIT_FAILURE); /* do not unlink socket */
}
mark_fd_nonblock(fd);