From 02844e9b01cf491507cfeef53dbe72852f464111 Mon Sep 17 00:00:00 2001 From: Bryan Christianson Date: Fri, 19 Aug 2016 18:19:52 +0200 Subject: [PATCH] local: fix typo in strerror() call --- local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local.c b/local.c index c456f83..82f8fb0 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