summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2023-04-02 09:51:11 +1000
committerDaniel Wagner <wagi@monom.org>2023-04-11 09:36:27 +0200
commit219232eaa63aaf750843856c2895ff1fe9479473 (patch)
treeab2abd069a2ff3307e071fbea4fc496c37670f9b
parent64e03ba275e183434c2ed294f6ab23fe792dee7f (diff)
downloadconnman-219232eaa63aaf750843856c2895ff1fe9479473.tar.gz
ntp: Fix timeserver typo in warning when ntp_data is not NULL
The value of the timeserver variable is incorrectly referred to as timerserver. Change it to timeserver to be consistent.
-rw-r--r--src/ntp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ntp.c b/src/ntp.c
index e7fee22a..5d0df9e5 100644
--- a/src/ntp.c
+++ b/src/ntp.c
@@ -577,7 +577,7 @@ int __connman_ntp_start(char *server, __connman_ntp_cb_t callback,
return -EINVAL;
if (ntp_data) {
- connman_warn("ntp_data is not NULL (timerserver %s)",
+ connman_warn("ntp_data is not NULL (timeserver %s)",
ntp_data->timeserver);
free_ntp_data(ntp_data);
}