Skip to contentSkip to conversation

ntp: Fix timeserver typo in warning when ntp_data is not NULL

PATCH Applied Jonathan Liu 2 participants 2 messages Apr 1, 2023 – Apr 11, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 src/ntp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/ntp.c +1 -1
index e7fee22a..5d0df9e5 100644
@@ -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);
 	}
Signature · 1 line
2.40.0
#1 lore raw
Quoted 3 lines · Jonathan Liu

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,

Signature · 1 line
Daniel Wagner <[email protected]>