From: Andre Noll Date: Tue, 4 Sep 2007 20:07:22 +0000 (+0200) Subject: audiod: Simplify two log messages. X-Git-Tag: v0.2.17~16 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=61b0a431ca3c5dabfa5445355664f00e312c5299;hp=de25f9d0d999b2a911ecc93d19511ff437211d18 audiod: Simplify two log messages. Trivial cleanup. --- diff --git a/audiod.c b/audiod.c index a1f1d621..397ef9a2 100644 --- a/audiod.c +++ b/audiod.c @@ -869,11 +869,11 @@ static int audiod_get_socket(void) 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);