diff options
Diffstat (limited to 'usr.sbin/ntpd/ntpd.c')
-rw-r--r-- | usr.sbin/ntpd/ntpd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntpd.c b/usr.sbin/ntpd/ntpd.c index d54d35c8b25..e015d1d0933 100644 --- a/usr.sbin/ntpd/ntpd.c +++ b/usr.sbin/ntpd/ntpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.c,v 1.128 2019/11/11 06:32:52 otto Exp $ */ +/* $OpenBSD: ntpd.c,v 1.129 2020/02/12 19:14:56 otto Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -810,7 +810,8 @@ show_status_msg(struct imsg *imsg) printf(" (%d errors)", cstatus->constraint_errors); printf(", "); - } + } else if (cstatus->constraints) + printf("constraints configured but none available, "); if (cstatus->peercnt + cstatus->sensorcnt == 0) printf("no peers and no sensors configured\n"); |