diff options
| author | Warner Losh <imp@FreeBSD.org> | 1997-03-28 15:24:41 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 1997-03-28 15:24:41 +0000 |
| commit | 93ef08af3ef1a9fb7a3af6b7212d3ca094e9aba6 (patch) | |
| tree | 27b535c748fe2bf5a45a09dca51479595187c73f /bin/sh/histedit.c | |
| parent | caccaa9b2a645d1b9261aff743dfc96f05927071 (diff) | |
Notes
Diffstat (limited to 'bin/sh/histedit.c')
| -rw-r--r-- | bin/sh/histedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c index c6376ae53b4f..5605d13bbb28 100644 --- a/bin/sh/histedit.c +++ b/bin/sh/histedit.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: histedit.c,v 1.9 1997/02/22 13:58:27 peter Exp $ */ #ifndef lint @@ -206,7 +206,7 @@ histcmd(argc, argv) optreset = 1; optind = 1; /* initialize getopt */ while (not_fcnumber(argv[optind]) && - (ch = getopt(argc, argv, ":e:lnrs")) != EOF) + (ch = getopt(argc, argv, ":e:lnrs")) != -1) switch ((char)ch) { case 'e': editor = optarg; |
