Browse Source

Typo in log message

OPENBSD_6_7
otto 4 years ago
parent
commit
062f16708b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/constraint.c

+ 2
- 2
src/usr.sbin/ntpd/constraint.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: constraint.c,v 1.49 2020/02/12 19:14:56 otto Exp $ */
/* $OpenBSD: constraint.c,v 1.50 2020/02/20 14:41:01 otto Exp $ */
/* /*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> * Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@ -722,7 +722,7 @@ constraint_msg_close(u_int32_t id, u_int8_t *data, size_t len)
cnt++; cnt++;
if (cnt > 0 && ++total_fails >= cnt && if (cnt > 0 && ++total_fails >= cnt &&
conf->constraint_median == 0) { conf->constraint_median == 0) {
log_warnx("constrainst configured but none available");
log_warnx("constraints configured but none available");
total_fails = 0; total_fails = 0;
} }
} }


Loading…
Cancel
Save