diff options
author | brian <brian@FreeBSD.org> | 1999-09-20 07:22:22 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-09-20 07:22:22 +0000 |
commit | 18c36231b722aae6426f96c058c9854857da3cd1 (patch) | |
tree | ca0ec46417d65216812add9988baa5f0f994951d /usr.sbin/pppctl | |
parent | 9c54df5d67d90f6083e19ac1f775622e951b3805 (diff) | |
download | FreeBSD-src-18c36231b722aae6426f96c058c9854857da3cd1.zip FreeBSD-src-18c36231b722aae6426f96c058c9854857da3cd1.tar.gz |
NetBSD has changed the el_init() prototype
Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>
Diffstat (limited to 'usr.sbin/pppctl')
-rw-r--r-- | usr.sbin/pppctl/pppctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pppctl/pppctl.c b/usr.sbin/pppctl/pppctl.c index 46c55c9..7cb649e 100644 --- a/usr.sbin/pppctl/pppctl.c +++ b/usr.sbin/pppctl/pppctl.c @@ -369,10 +369,11 @@ main(int argc, char **argv) size = 20; #ifdef __NetBSD__ history(hist, NULL, H_SETSIZE, size); + edit = el_init("pppctl", stdin, stdout, stderr); #else history(hist, H_EVENT, size); -#endif edit = el_init("pppctl", stdin, stdout); +#endif el_source(edit, NULL); el_set(edit, EL_PROMPT, GetPrompt); if ((env = getenv("EL_EDITOR"))) { |