]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
audiod: Simplify two log messages.
authorAndre Noll <maan@systemlinux.org>
Tue, 4 Sep 2007 20:07:22 +0000 (22:07 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 4 Sep 2007 20:07:22 +0000 (22:07 +0200)
Trivial cleanup.

audiod.c

index a1f1d62169d7a24a3be814a284df87c56032f3a9..397ef9a257ed89743ca651eed797890966d59a2a 100644 (file)
--- 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);