summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-05-13 14:22:19 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-05-13 14:22:19 +0000
commit01c0c9b3a669355117002d06a82a8525d74ade47 (patch)
treeadcc272061bd49a39fc3e67241172650942656d4 /usr.sbin/cron
parent5a4592e1a193ebd77a76adb72f4f70869199f053 (diff)
Pasto, change a cast from uid_t to gid_t (no real change...)
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/atrun.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/cron/atrun.c b/usr.sbin/cron/atrun.c
index 03eb9665084..d34d56d73e1 100644
--- a/usr.sbin/cron/atrun.c
+++ b/usr.sbin/cron/atrun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atrun.c,v 1.10 2003/06/17 21:56:26 millert Exp $ */
+/* $OpenBSD: atrun.c,v 1.11 2004/05/13 14:22:18 millert Exp $ */
/*
* Copyright (c) 2002-2003 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -21,7 +21,7 @@
*/
#if !defined(lint) && !defined(LINT)
-static const char rcsid[] = "$OpenBSD: atrun.c,v 1.10 2003/06/17 21:56:26 millert Exp $";
+static const char rcsid[] = "$OpenBSD: atrun.c,v 1.11 2004/05/13 14:22:18 millert Exp $";
#endif
#include "cron.h"
@@ -351,7 +351,7 @@ run_job(atjob *job, char *atfile)
cp = ep + 5;
errno = 0;
ngid = strtol(cp, &ep, 10);
- if (errno == ERANGE || (uid_t)ngid > GID_MAX || cp == ep || *ep != '\n')
+ if (errno == ERANGE || (gid_t)ngid > GID_MAX || cp == ep || *ep != '\n')
goto bad_file;
/* Pull out mailto user (and always_mail flag) */