The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=58f13a881f1727addf42d6930eeec7caba9aefce
commit 58f13a881f1727addf42d6930eeec7caba9aefce Author: Alexander Ziaee <[email protected]> AuthorDate: 2026-08-28 19:49:59 +0000 Commit: Alexander Ziaee <[email protected]> CommitDate: 2026-08-28 19:50:01 +0000 ntpdate: Add a deprecation notice to syslog Suggested by: cy, emaste Reviewed by: cy Differential Revision: https://reviews.freebsd.org/D55929 --- contrib/ntp/ntpdate/ntpdate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/ntp/ntpdate/ntpdate.c b/contrib/ntp/ntpdate/ntpdate.c index fd48604c912b..506f61f677d5 100644 --- a/contrib/ntp/ntpdate/ntpdate.c +++ b/contrib/ntp/ntpdate/ntpdate.c @@ -299,6 +299,8 @@ main( char *argv[] ) { + msyslog(LOG_NOTICE,"ntpdate is deprecated and " + "scheduled for removal in ntp 4.4, use ntpd -q instead"); return ntpdatemain (argc, argv); } #endif /* NO_MAIN_ALLOWED */
