summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cdcontrol
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-10-19 15:37:43 +0000
committerstefanf <stefanf@FreeBSD.org>2005-10-19 15:37:43 +0000
commit267cbf8d2223ab8f08c80e5a29e02166fd62f181 (patch)
tree3f40fd81975ec832e4b542021add94a40fc17d64 /usr.sbin/cdcontrol
parentf584bb27ab9657cf20ddee8b59ddbe299de7fce5 (diff)
downloadFreeBSD-src-267cbf8d2223ab8f08c80e5a29e02166fd62f181.zip
FreeBSD-src-267cbf8d2223ab8f08c80e5a29e02166fd62f181.tar.gz
Use the new name H_SETSIZE instead of the old H_EVENT to set the history
size. PR: 86355
Diffstat (limited to 'usr.sbin/cdcontrol')
-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