summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1995-10-06 21:38:18 +0000
committerchristos <christos@NetBSD.org>1995-10-06 21:38:18 +0000
commit92380da725dfe5701f8a3070225544f4e67bb24c (patch)
tree83e0b2004e781d2783c85175e03bde8043069b78
parentda34221cb9c70a53bfb5e382482bd0f5fcbd6d8d (diff)
fixed previous booboo that broke command line editing input.
-rw-r--r--bin/sh/input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/input.c b/bin/sh/input.c
index b12ea853fcd..480082df44c 100644
--- a/bin/sh/input.c
+++ b/bin/sh/input.c
@@ -1,4 +1,4 @@
-/* $NetBSD: input.c,v 1.17 1995/09/26 13:25:19 christos Exp $ */
+/* $NetBSD: input.c,v 1.18 1995/10/06 21:38:18 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)input.c 8.3 (Berkeley) 6/9/95";
#else
-static char rcsid[] = "$NetBSD: input.c,v 1.17 1995/09/26 13:25:19 christos Exp $";
+static char rcsid[] = "$NetBSD: input.c,v 1.18 1995/10/06 21:38:18 christos Exp $";
#endif
#endif /* not lint */
@@ -187,7 +187,7 @@ retry:
const char *rl_cp;
int len;
- rl_cp = el_gets(el, &parsenleft);
+ rl_cp = el_gets(el, &nr);
if (rl_cp == NULL)
nr = 0;
else {