* [PATCH] ntp: Fix timeserver typo in warning when ntp_data is not NULL
@ 2023-04-01 23:51 Jonathan Liu
2023-04-11 7:40 ` Daniel Wagner
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Liu @ 2023-04-01 23:51 UTC (permalink / raw)
To: connman; +Cc: Jonathan Liu
The value of the timeserver variable is incorrectly referred to
as timerserver. Change it to timeserver to be consistent.
---
src/ntp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}
--
2.40.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ntp: Fix timeserver typo in warning when ntp_data is not NULL
2023-04-01 23:51 [PATCH] ntp: Fix timeserver typo in warning when ntp_data is not NULL Jonathan Liu
@ 2023-04-11 7:40 ` Daniel Wagner
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Wagner @ 2023-04-11 7:40 UTC (permalink / raw)
To: connman, Jonathan Liu; +Cc: Daniel Wagner
On Sun, 02 Apr 2023 09:51:11 +1000, Jonathan Liu wrote:
> The value of the timeserver variable is incorrectly referred to
> as timerserver. Change it to timeserver to be consistent.
>
Applied, thanks!
[1/1] ntp: Fix timeserver typo in warning when ntp_data is not NULL
commit: 219232eaa63aaf750843856c2895ff1fe9479473
Best regards,
--
Daniel Wagner <wagi@monom.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-11 7:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-01 23:51 [PATCH] ntp: Fix timeserver typo in warning when ntp_data is not NULL Jonathan Liu
2023-04-11 7:40 ` Daniel Wagner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).