Fix some error messages
This commit is contained in:
parent
72d0b3c913
commit
ea3672df4e
2 changed files with 2 additions and 2 deletions
|
@ -201,7 +201,7 @@ prepare_socket(int family)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bind(sock_fd, &my_addr.u, addrlen) < 0) {
|
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 */
|
/* but keep running */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -335,7 +335,7 @@ update_drift_file(double freq_ppm, double skew)
|
||||||
if (rename(temp_drift_file,drift_file)) {
|
if (rename(temp_drift_file,drift_file)) {
|
||||||
unlink(temp_drift_file);
|
unlink(temp_drift_file);
|
||||||
Free(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);
|
drift_file,drift_file);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue