diff --git a/sapi/fpm/fpm/fpm_conf.c b/sapi/fpm/fpm/fpm_conf.c index 5684a46190e..8f7548a402c 100644 --- a/sapi/fpm/fpm/fpm_conf.c +++ b/sapi/fpm/fpm/fpm_conf.c @@ -1877,7 +1877,7 @@ int fpm_conf_init_main(int test_conf, int force_daemon) /* {{{ */ if (test_conf > 1) { fpm_conf_dump(); } - zlog(ZLOG_NOTICE, "configuration file %s test is successful\n", fpm_globals.config); + zlog(ZLOG_NOTICE, "configuration file %s test is successful", fpm_globals.config); fpm_globals.test_successful = 1; return -1; } diff --git a/sapi/fpm/fpm/fpm_sockets.c b/sapi/fpm/fpm/fpm_sockets.c index 66488b9bf00..b532e68b9d3 100644 --- a/sapi/fpm/fpm/fpm_sockets.c +++ b/sapi/fpm/fpm/fpm_sockets.c @@ -313,7 +313,7 @@ static int fpm_socket_af_inet_socket_by_addr(struct fpm_worker_pool_s *wp, const hints.ai_socktype = SOCK_STREAM; if ((status = getaddrinfo(addr, port, &hints, &servinfo)) != 0) { - zlog(ZLOG_ERROR, "getaddrinfo: %s\n", gai_strerror(status)); + zlog(ZLOG_ERROR, "getaddrinfo: %s", gai_strerror(status)); return -1; }