summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/cron.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-11-09 15:57:40 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-11-09 15:57:40 +0000
commit2448216aee70b86add6d20b6fe4220165c853daf (patch)
treec28c017010a5766f1487b2c8db062e7788e7409a /usr.sbin/cron/cron.c
parent7766303580d687afc2392f1f074df28773ff627d (diff)
Rename AT_DIR -> AT_SPOOL and SPOOL_DIR -> CRON_SPOOL to improve
readability.
Diffstat (limited to 'usr.sbin/cron/cron.c')
-rw-r--r--usr.sbin/cron/cron.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/cron/cron.c b/usr.sbin/cron/cron.c
index 2d5b1e8f271..4e00df83aae 100644
--- a/usr.sbin/cron/cron.c
+++ b/usr.sbin/cron/cron.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cron.c,v 1.64 2015/11/09 01:12:27 millert Exp $ */
+/* $OpenBSD: cron.c,v 1.65 2015/11/09 15:57:39 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -430,8 +430,8 @@ open_socket(void)
}
bzero(&s_un, sizeof(s_un));
if (snprintf(s_un.sun_path, sizeof(s_un.sun_path), "%s/%s",
- SPOOL_DIR, CRONSOCK) >= sizeof(s_un.sun_path)) {
- fprintf(stderr, "%s/%s: path too long\n", SPOOL_DIR, CRONSOCK);
+ CRON_SPOOL, CRONSOCK) >= sizeof(s_un.sun_path)) {
+ fprintf(stderr, "%s/%s: path too long\n", CRON_SPOOL, CRONSOCK);
log_it("CRON", getpid(), "DEATH", "path too long");
exit(EXIT_FAILURE);
}