summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cdcontrol/cdcontrol.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/cdcontrol/cdcontrol.c')
-rw-r--r--usr.sbin/cdcontrol/cdcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/cdcontrol/cdcontrol.c b/usr.sbin/cdcontrol/cdcontrol.c
index edebd65..040106f 100644
--- a/usr.sbin/cdcontrol/cdcontrol.c
+++ b/usr.sbin/cdcontrol/cdcontrol.c
@@ -1130,7 +1130,7 @@ input (int *cmd)
el = el_init("cdcontrol", 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, cdcontrol_prompt);
OpenPOWER on IntegriCloud