[Git][NTPsec/ntpsec][master] Fix misleading error message

Eric S. Raymond gitlab at mg.gitlab.com
Wed Mar 8 18:01:45 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
aec2eee1 by Mikhail Gusarov at 2017-03-08T15:48:08+01:00
Fix misleading error message

- - - - -


1 changed file:

- libntp/clockwork.c


Changes:

=====================================
libntp/clockwork.c
=====================================
--- a/libntp/clockwork.c
+++ b/libntp/clockwork.c
@@ -142,7 +142,7 @@ ntp_set_tod(
 	saved_errno = errno;
 	TRACE(1, ("ntp_set_tod: clock_settime: %d %m\n", rc));
 #else
-#error POSIX clock_gettime(2) is required
+#error POSIX clock_settime(2) is required
 #endif /* HAVE_CLOCK_SETTIME */
 	errno = saved_errno;	/* for %m below */
 	TRACE(1, ("ntp_set_tod: Final result: clock_settime: %d %m\n", rc));



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/aec2eee1cde1611879376792f9582a77df3928ec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170308/301d21a5/attachment.html>


More information about the vc mailing list