All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Liu <net147@gmail.com>
To: connman@lists.linux.dev
Cc: Jonathan Liu <net147@gmail.com>
Subject: [PATCH] ntp: Fix timeserver typo in warning when ntp_data is not NULL
Date: Sun,  2 Apr 2023 09:51:11 +1000	[thread overview]
Message-ID: <20230401235111.107463-1-net147@gmail.com> (raw)

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


             reply	other threads:[~2023-04-01 23:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-01 23:51 Jonathan Liu [this message]
2023-04-11  7:40 ` [PATCH] ntp: Fix timeserver typo in warning when ntp_data is not NULL Daniel Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230401235111.107463-1-net147@gmail.com \
    --to=net147@gmail.com \
    --cc=connman@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.