summaryrefslogtreecommitdiff
path: root/src/timedate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timedate.cpp')
-rw-r--r--src/timedate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timedate.cpp b/src/timedate.cpp
index aed13f5..59812ad 100644
--- a/src/timedate.cpp
+++ b/src/timedate.cpp
@@ -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)
{