ntp_adjtime is not supported by musl.
This commit is contained in:
parent
cbbefae284
commit
3a85891f2e
@ -325,7 +325,7 @@ namespace dlackware::timedate
|
||||
bool ntp_synchronized()
|
||||
{
|
||||
timex buffer{ .modes = 0 };
|
||||
int ntp_result = ntp_adjtime(&buffer);
|
||||
int ntp_result = adjtimex(&buffer);
|
||||
|
||||
if (ntp_result == -1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user