diff options
author | ache <ache@FreeBSD.org> | 2001-05-10 17:14:29 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-05-10 17:14:29 +0000 |
commit | 4121173daf63441e2b05abe37f7fa271797c52fe (patch) | |
tree | a6d63ecbc70f0d0c00f331d7fb1231db0646f26f /usr.sbin | |
parent | 29097a84106ec379c2319c7467bc3bad9dfd121d (diff) | |
download | FreeBSD-src-4121173daf63441e2b05abe37f7fa271797c52fe.zip FreeBSD-src-4121173daf63441e2b05abe37f7fa271797c52fe.tar.gz |
Move cons25w entry last, index is off by one otherwise if RunningAsInit
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sade/termcap.c | 6 | ||||
-rw-r--r-- | usr.sbin/sysinstall/termcap.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/sade/termcap.c b/usr.sbin/sade/termcap.c index 78a78d6..b63cf36 100644 --- a/usr.sbin/sade/termcap.c +++ b/usr.sbin/sade/termcap.c @@ -9,6 +9,8 @@ * circumstances is the author responsible for the proper functioning of this * software, nor does the author assume any responsibility for damages * incurred with its use. + * + * $FreeBSD$ */ #include "sysinstall.h" @@ -29,10 +31,10 @@ prompt_term(char **termp, char **termcapp) const char *term, *termcap; } lookup[] = { { "ansi", termcap_ansi }, { "vt100", termcap_vt100 }, - { "cons25w", termcap_cons25w }, { "cons25", termcap_cons25 }, { "cons25-m", termcap_cons25_m }, - { "xterm", termcap_xterm } }; + { "xterm", termcap_xterm }, + { "cons25w", termcap_cons25w } }; /* must be last */ if (RunningAsInit) { while (1) { diff --git a/usr.sbin/sysinstall/termcap.c b/usr.sbin/sysinstall/termcap.c index 78a78d6..b63cf36 100644 --- a/usr.sbin/sysinstall/termcap.c +++ b/usr.sbin/sysinstall/termcap.c @@ -9,6 +9,8 @@ * circumstances is the author responsible for the proper functioning of this * software, nor does the author assume any responsibility for damages * incurred with its use. + * + * $FreeBSD$ */ #include "sysinstall.h" @@ -29,10 +31,10 @@ prompt_term(char **termp, char **termcapp) const char *term, *termcap; } lookup[] = { { "ansi", termcap_ansi }, { "vt100", termcap_vt100 }, - { "cons25w", termcap_cons25w }, { "cons25", termcap_cons25 }, { "cons25-m", termcap_cons25_m }, - { "xterm", termcap_xterm } }; + { "xterm", termcap_xterm }, + { "cons25w", termcap_cons25w } }; /* must be last */ if (RunningAsInit) { while (1) { |