All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.