]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
local: fix typo in strerror() call
authorBryan Christianson <bryan@whatroute.net>
Fri, 19 Aug 2016 16:19:52 +0000 (18:19 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 19 Aug 2016 16:25:02 +0000 (18:25 +0200)
local.c

diff --git a/local.c b/local.c
index c456f83c282f8ac44f387f855be7edc1f192cd3b..82f8fb0a40b4d6e025e2ed64fae935f35c905fa8 100644 (file)
--- 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