From ea3672df4ef244f9dc4251afa5fce60180354d50 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 20 May 2013 18:21:30 +0200 Subject: [PATCH] Fix some error messages --- acquire.c | 2 +- reference.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acquire.c b/acquire.c index 01e705c..af36831 100644 --- a/acquire.c +++ b/acquire.c @@ -201,7 +201,7 @@ prepare_socket(int family) } if (bind(sock_fd, &my_addr.u, addrlen) < 0) { - LOG(LOGS_ERR, LOGF_Acquire, "Could not bind socket : %s\n", strerror(errno)); + LOG(LOGS_ERR, LOGF_Acquire, "Could not bind socket : %s", strerror(errno)); /* but keep running */ } } diff --git a/reference.c b/reference.c index ad1f5dd..c5bc1e3 100644 --- a/reference.c +++ b/reference.c @@ -335,7 +335,7 @@ update_drift_file(double freq_ppm, double skew) if (rename(temp_drift_file,drift_file)) { unlink(temp_drift_file); Free(temp_drift_file); - LOG(LOGS_WARN, LOGF_Reference, "Could not replace old driftfile %s with new one %s.tmp (%d)", + LOG(LOGS_WARN, LOGF_Reference, "Could not replace old driftfile %s with new one %s.tmp", drift_file,drift_file); return; }