summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-04-23 16:32:07 +0000
committermillert <millert@openbsd.org>2000-04-23 16:32:07 +0000
commit45108c9efd4cdde37a42b5365addeb467754fa04 (patch)
tree91dfbb43b937f3e637fcbbe0a73b200d0777c165
parentCorrect bitmask. (diff)
downloadwireguard-openbsd-45108c9efd4cdde37a42b5365addeb467754fa04.tar.xz
wireguard-openbsd-45108c9efd4cdde37a42b5365addeb467754fa04.zip
Fix thinko, check eqp for NULL, not ap; ath@algonet.se
-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 6733657e3a3..79edcef3a7a 100644
--- a/usr.bin/at/at.c
+++ b/usr.bin/at/at.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: at.c,v 1.18 2000/01/21 04:22:54 millert Exp $ */
+/* $OpenBSD: at.c,v 1.19 2000/04/23 16:32:07 millert 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.18 2000/01/21 04:22:54 millert Exp $";
+static char rcsid[] = "$OpenBSD: at.c,v 1.19 2000/04/23 16:32:07 millert Exp $";
#endif
char *no_export[] =
@@ -316,7 +316,7 @@ writefile(runtimer, queue)
char *eqp;
eqp = strchr(*atenv, '=');
- if (ap == NULL)
+ if (eqp == NULL)
eqp = *atenv;
else {
int i;