From: Bryan Christianson Date: Fri, 19 Aug 2016 16:19:52 +0000 (+0200) Subject: local: fix typo in strerror() call X-Git-Tag: 3.0-pre1~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02844e9b01cf491507cfeef53dbe72852f464111;p=thirdparty%2Fchrony.git local: fix typo in strerror() call --- diff --git a/local.c b/local.c index c456f83c..82f8fb0a 100644 --- a/local.c +++ b/local.c @@ -361,7 +361,7 @@ LCL_ReadRawTime(struct timespec *ts) struct timeval tv; if (gettimeofday(&tv, NULL) < 0) - LOG_FATAL(LOGF_Local, "gettimeofday() failed : %s", stderror(errno)); + LOG_FATAL(LOGF_Local, "gettimeofday() failed : %s", strerror(errno)); UTI_TimevalToTimespec(&tv, ts); #endif