buglet - Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 2.4-41-g7a1ebc3 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: buglet - Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 2.4-41-g7a1ebc3
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Sat, 20 Aug 2016 04:10:00 +1200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a0-2; h=Feedback-ID:X-Smtpcorp-Track:To:Message-Id:Date: From:Subject:List-Unsubscribe:Reply-To; bh=GRnyj5J7+7ekQ5NNWDToIE07U5gTjJ7UuNvand7dT6k=; b=I3UlzKD2kFRoPBmraYPSeKcqx5 01ZVhCSwkc2v8eFCKt6f2INM7ZFDZt4aysWACNTqJNwPglY8Auwwprrgpc6Z7LnAA3+juEEtcujQ7 toTOdDS36QTGZlLfgdCMlFytx84OpV0r0+bKu0LdeByEvP3CBoO3PFarBIWc6Tm6F+OEBwH4rKp4/ GHNxVaaRbHzRCrX7t1utDTghHNAxVYixbc3D08HIZy2XPk8l2alEWyS5xTOImtQFrU0MrNUopKxh9 sznNoTb3pSgXnjgSt0HebmhI2eL7n3BGrG/9LL6v7vMCxjXi3Jp1llnD9qfsyQPtab3e035u/D62+ tkqLszRA==;
- Feedback-id: 149811m:149811acx33YQ:149811sdIs0I-g2u:SMTPCORP
It’s minor but will affect all systems that don’t have clock_gettime
> On 20/08/2016, at 3:38 AM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> So, does the new code build and work for you? I was a bit worried I'd
> break it on macOS. :)
>
number9:chrony-git bryan$ git diff
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
Bryan Christianson
bryan@xxxxxxxxxxxxx
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.