summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-05-09 21:53:17 +0000
committermillert <millert@openbsd.org>2002-05-09 21:53:17 +0000
commit2c882c9dab0b98a440e26ab3783f64b3a5dcbfa9 (patch)
tree44534bf4c32d147f5b5f35654823ec9787a22e65
parentSet length tag of the correct registers (diff)
downloadwireguard-openbsd-2c882c9dab0b98a440e26ab3783f64b3a5dcbfa9.tar.xz
wireguard-openbsd-2c882c9dab0b98a440e26ab3783f64b3a5dcbfa9.zip
Missing piece from last commit.
-rw-r--r--usr.sbin/cron/misc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/cron/misc.c b/usr.sbin/cron/misc.c
index a5da325b173..e94a68e3285 100644
--- a/usr.sbin/cron/misc.c
+++ b/usr.sbin/cron/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.13 2002/05/09 21:40:41 millert Exp $ */
+/* $OpenBSD: misc.c,v 1.14 2002/05/09 21:53:17 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
*/
@@ -21,7 +21,7 @@
*/
#if !defined(lint) && !defined(LINT)
-static char rcsid[] = "$OpenBSD: misc.c,v 1.13 2002/05/09 21:40:41 millert Exp $";
+static char rcsid[] = "$OpenBSD: misc.c,v 1.14 2002/05/09 21:53:17 millert Exp $";
#endif
/* vix 26jan87 [RCS has the rest of the log]
@@ -495,11 +495,11 @@ allowed(username)
if (allow_error)
return (FALSE);
if (allow)
- return (in_file(username, allow));
+ return (in_file(username, allow, FALSE));
if (deny_error)
return (FALSE);
if (deny)
- return (!in_file(username, deny));
+ return (!in_file(username, deny, TRUE));
#if defined(ALLOW_ONLY_ROOT)
return (strcmp(username, ROOT_USER) == 0);