diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1996-11-02 05:18:30 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1996-11-02 05:18:30 +0000 |
commit | 2ee7aeb3e5333bb951c4efb03da56de55d3c264c (patch) | |
tree | 7e3e10d82869286ceb529c29d764143e1ad828d2 /bin/sh/options.c | |
parent | cda2511e503c1edeb0ee87944f0a5951f8027e89 (diff) |
Fix eval of $1, a typo, and a thinko.
Diffstat (limited to 'bin/sh/options.c')
-rw-r--r-- | bin/sh/options.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/options.c b/bin/sh/options.c index 506a8d3b361..93d00e8562d 100644 --- a/bin/sh/options.c +++ b/bin/sh/options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options.c,v 1.3 1996/10/20 00:54:59 millert Exp $ */ +/* $OpenBSD: options.c,v 1.4 1996/11/02 05:18:27 millert Exp $ */ /* $NetBSD: options.c,v 1.14 1995/05/11 21:29:46 christos Exp $ */ /*- @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 5/4/95"; #else -static char rcsid[] = "$OpenBSD: options.c,v 1.3 1996/10/20 00:54:59 millert Exp $"; +static char rcsid[] = "$OpenBSD: options.c,v 1.4 1996/11/02 05:18:27 millert Exp $"; #endif #endif /* not lint */ @@ -362,7 +362,7 @@ getoptsreset(value) const char *value; { if (number(value) == 1) - shellparam.optnext; + shellparam.optnext = NULL; } |