mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 21:55:07 -05:00
local: fix typo in strerror() call
This commit is contained in:
committed by
Miroslav Lichvar
parent
7a1ebc3467
commit
02844e9b01
2
local.c
2
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
|
||||
|
||||
Reference in New Issue
Block a user