From 267cbf8d2223ab8f08c80e5a29e02166fd62f181 Mon Sep 17 00:00:00 2001 From: stefanf Date: Wed, 19 Oct 2005 15:37:43 +0000 Subject: Use the new name H_SETSIZE instead of the old H_EVENT to set the history size. PR: 86355 --- usr.sbin/cdcontrol/cdcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin') 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); -- cgit v1.1