summaryrefslogtreecommitdiff
path: root/usr.bin/at/at.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/at/at.c')
-rw-r--r--usr.bin/at/at.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c
index 5184caed741..1ddab472b20 100644
--- a/usr.bin/at/at.c
+++ b/usr.bin/at/at.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: at.c,v 1.16 1998/07/09 20:40:58 mickey Exp $ */
+/* $OpenBSD: at.c,v 1.17 1999/12/15 05:33:06 deraadt Exp $ */
/* $NetBSD: at.c,v 1.4 1995/03/25 18:13:31 glass Exp $ */
/*
@@ -74,7 +74,7 @@ enum { ATQ, ATRM, AT, BATCH, CAT }; /* what program we want to run */
/* File scope variables */
#ifndef lint
-static char rcsid[] = "$OpenBSD: at.c,v 1.16 1998/07/09 20:40:58 mickey Exp $";
+static char rcsid[] = "$OpenBSD: at.c,v 1.17 1999/12/15 05:33:06 deraadt Exp $";
#endif
char *no_export[] =
@@ -197,7 +197,7 @@ writefile(runtimer, queue)
sigaction(SIGINT, &act, NULL);
- (void)strcpy(atfile, _PATH_ATJOBS);
+ (void)strlcpy(atfile, _PATH_ATJOBS, sizeof atfile);
ppos = atfile + strlen(atfile);
/*