From 60ca8017cfe5340710a6886a8035f3e81a156221 Mon Sep 17 00:00:00 2001 From: millert Date: Sun, 4 Jun 2023 17:27:27 +0000 Subject: [PATCH] Correct the comment in get_range() describing the range syntax. --- usr.sbin/cron/entry.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.sbin/cron/entry.c b/usr.sbin/cron/entry.c index c3f04b1afcc..e9b5028151d 100644 --- a/usr.sbin/cron/entry.c +++ b/usr.sbin/cron/entry.c @@ -1,4 +1,4 @@ -/* $OpenBSD: entry.c,v 1.56 2023/05/08 15:18:31 millert Exp $ */ +/* $OpenBSD: entry.c,v 1.57 2023/06/04 17:27:27 millert Exp $ */ /* * Copyright 1988,1990,1993,1994 by Paul Vixie @@ -453,7 +453,9 @@ static int get_range(bitstr_t *bits, int low, int high, const char *names[], int ch, FILE *file) { - /* range = number | number* "~" number* | number "-" number ["/" number] + /* range = number | + * [number] "~" [number] ["/" number] | + * number "-" number ["/" number] */ int i, num1, num2, num3, rndstep; -- 2.20.1