local: fix typo in strerror() call
This commit is contained in:
parent
7a1ebc3467
commit
02844e9b01
1 changed files with 1 additions and 1 deletions
2
local.c
2
local.c
|
@ -361,7 +361,7 @@ LCL_ReadRawTime(struct timespec *ts)
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
|
||||||
if (gettimeofday(&tv, NULL) < 0)
|
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);
|
UTI_TimevalToTimespec(&tv, ts);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue