aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2005-10-19 16:37:52 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2005-10-19 16:37:52 +0000
commit6b6c96661e8489f0fd0339fa970352d9d70550d9 (patch)
tree681e175fc3264acf6fca30ceaecdba3118efe170
parenta22adbc68cb182ee0c2724b5d90479c471e92237 (diff)
Notes
-rw-r--r--usr.sbin/lpr/lpc/lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpc/lpc.c b/usr.sbin/lpr/lpc/lpc.c
index 5e6e52690e5b7..e279f3ab5a085 100644
--- a/usr.sbin/lpr/lpc/lpc.c
+++ b/usr.sbin/lpr/lpc/lpc.c
@@ -167,7 +167,7 @@ cmdscanner(void)
if (!el) {
el = el_init("lpc", stdin, stdout, stderr);
hist = history_init();
- history(hist, &he, H_EVENT, 100);
+ history(hist, &he, H_SETSIZE, 100);
el_set(el, EL_HIST, history, hist);
el_set(el, EL_EDITOR, "emacs");
el_set(el, EL_PROMPT, lpc_prompt);