diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-11-09 15:57:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-11-09 15:57:40 +0000 |
commit | 2448216aee70b86add6d20b6fe4220165c853daf (patch) | |
tree | c28c017010a5766f1487b2c8db062e7788e7409a /usr.sbin/cron/client.c | |
parent | 7766303580d687afc2392f1f074df28773ff627d (diff) |
Rename AT_DIR -> AT_SPOOL and SPOOL_DIR -> CRON_SPOOL to improve
readability.
Diffstat (limited to 'usr.sbin/cron/client.c')
-rw-r--r-- | usr.sbin/cron/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/cron/client.c b/usr.sbin/cron/client.c index 1957b6369f3..b0d021263da 100644 --- a/usr.sbin/cron/client.c +++ b/usr.sbin/cron/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.4 2015/11/06 23:47:42 millert Exp $ */ +/* $OpenBSD: client.c,v 1.5 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") @@ -99,9 +99,9 @@ poke_daemon(const char *spool_dir, unsigned char cookie) 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)) { + CRON_SPOOL, CRONSOCK) >= sizeof(s_un.sun_path)) { fprintf(stderr, "%s: %s/%s: path too long\n", - __progname, SPOOL_DIR, CRONSOCK); + __progname, CRON_SPOOL, CRONSOCK); return; } s_un.sun_family = AF_UNIX; |