diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2014-04-14 14:40:12 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2014-04-14 14:40:12 +0000 |
commit | cada55282a2eaa0d489bde770c9145b44f2584c8 (patch) | |
tree | e910bbde8d71cc65abdda3b0b5013b644a5fb76a /usr.bin | |
parent | 647be2c3a9686501b378cf60c369d46e0f6138f9 (diff) | |
download | src-cada55282a2eaa0d489bde770c9145b44f2584c8.tar.gz src-cada55282a2eaa0d489bde770c9145b44f2584c8.zip |
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/units/units.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/units/units.c b/usr.bin/units/units.c index 01a12ec2e962..df2913f7be6b 100644 --- a/usr.bin/units/units.c +++ b/usr.bin/units/units.c @@ -724,11 +724,11 @@ main(int argc, char **argv) inhistory = history_init(); el = el_init(argv[0], stdin, stdout, stderr); - el_source(el, NULL); el_set(el, EL_PROMPT, &prompt); el_set(el, EL_EDITOR, "emacs"); el_set(el, EL_SIGNAL, 1); el_set(el, EL_HIST, history, inhistory); + el_source(el, NULL); history(inhistory, &ev, H_SETSIZE, 800); if (inhistory == 0) err(1, "Could not initalize history"); |