mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-21 14:17:27 -04:00
pullup: string formats
This commit is contained in:
parent
ac9d955cdd
commit
9113f8b75c
1 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: time.c,v 1.34 2001/07/09 21:06:02 gson Exp $ */
|
||||
/* $Id: time.c,v 1.34.2.1 2001/08/31 18:01:22 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -145,7 +145,7 @@ isc_time_now(isc_time_t *t) {
|
|||
REQUIRE(t != NULL);
|
||||
|
||||
if (gettimeofday(&tv, NULL) == -1) {
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__, strerror(errno));
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__, "%s", strerror(errno));
|
||||
return (ISC_R_UNEXPECTED);
|
||||
}
|
||||
|
||||
|
|
@ -187,7 +187,7 @@ isc_time_nowplusinterval(isc_time_t *t, isc_interval_t *i) {
|
|||
INSIST(i->nanoseconds < NS_PER_S);
|
||||
|
||||
if (gettimeofday(&tv, NULL) == -1) {
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__, strerror(errno));
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__, "%s", strerror(errno));
|
||||
return (ISC_R_UNEXPECTED);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue