diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-08-21 21:04:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-08-21 21:04:23 +0000 |
commit | cbf4abccc3758a3fe85b580f8e56307e287542c8 (patch) | |
tree | fd45adf473f7719b54b638198b8610ee7e4a429d /usr.sbin | |
parent | 1d5c3467d92898092243de92c2ab7ac0f3b7f6b9 (diff) |
correct tmp file path; solar@false.com
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/cron/crontab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/crontab.c b/usr.sbin/cron/crontab.c index 4f7c505b761..bccee0fd004 100644 --- a/usr.sbin/cron/crontab.c +++ b/usr.sbin/cron/crontab.c @@ -16,7 +16,7 @@ */ #if !defined(lint) && !defined(LINT) -static char rcsid[] = "$Id: crontab.c,v 1.16 2000/08/21 21:03:25 deraadt Exp $"; +static char rcsid[] = "$Id: crontab.c,v 1.17 2000/08/21 21:04:22 deraadt Exp $"; #endif /* crontab - install and manage per-user crontab files @@ -534,7 +534,7 @@ replace_cmd() { return (-2); } - TempFilename = strdup(__CONCAT(SPOOL_DIR,"tmp.XXXXXXXXXX")); + TempFilename = strdup(__CONCAT(SPOOL_DIR,"/tmp.XXXXXXXXXX")); if (TempFilename == NULL) { fprintf(stderr, "%s: Cannot allocate memory.\n", ProgramName); return (-2); |