diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-10-19 16:37:52 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-10-19 16:37:52 +0000 |
commit | bb15d175e9f27891f493c926b38dfcc2a7f35d88 (patch) | |
tree | 681e175fc3264acf6fca30ceaecdba3118efe170 /usr.sbin/lpr | |
parent | c8197b6e73607bd123a10e13cffc9482191db2e5 (diff) | |
download | FreeBSD-src-bb15d175e9f27891f493c926b38dfcc2a7f35d88.zip FreeBSD-src-bb15d175e9f27891f493c926b38dfcc2a7f35d88.tar.gz |
Use the new name H_SETSIZE instead of the old H_EVENT to set the history
size.
PR: 86355
Approved by: gad
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r-- | usr.sbin/lpr/lpc/lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpc/lpc.c b/usr.sbin/lpr/lpc/lpc.c index 5e6e526..e279f3a 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); |