]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Fix some error messages
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 20 May 2013 16:21:30 +0000 (18:21 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 20 May 2013 16:21:30 +0000 (18:21 +0200)
acquire.c
reference.c

index 01e705c9a3a93a7ed3a72a2488d73f7164e7320f..af3683192b2ce0623b9c2fd374167707db31c79c 100644 (file)
--- 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 */
     }
   }
index ad1f5dd45758093562c795067a084b12a070d776..c5bc1e3b82670c2402ba31107b778136d662a311 100644 (file)
@@ -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;
   }