summaryrefslogtreecommitdiffstats
path: root/lib/libutil/login_class.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-01-19 10:54:44 +0000
committerru <ru@FreeBSD.org>2000-01-19 10:54:44 +0000
commit3710f9234ca41ba0631f279891b13571f246515d (patch)
tree79ce182df70c0259bb0a5ce347677f8dba9a6b3f /lib/libutil/login_class.c
parentbcb6fab38508d8274b83a54d3e897f34c0abc407 (diff)
downloadFreeBSD-src-3710f9234ca41ba0631f279891b13571f246515d.zip
FreeBSD-src-3710f9234ca41ba0631f279891b13571f246515d.tar.gz
Do not set the default terminal type to "su", leave it empty.
PR: bin/5084 Reviewed by: asmodai, davidn, sef
Diffstat (limited to 'lib/libutil/login_class.c')
-rw-r--r--lib/libutil/login_class.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libutil/login_class.c b/lib/libutil/login_class.c
index 2cd65bd..478d9b2 100644
--- a/lib/libutil/login_class.c
+++ b/lib/libutil/login_class.c
@@ -41,10 +41,6 @@
#include <sys/rtprio.h>
-#undef UNKNOWN
-#define UNKNOWN "su"
-
-
static struct login_res {
const char *what;
rlim_t (*who)(login_cap_t *, const char *, rlim_t, rlim_t);
@@ -124,7 +120,7 @@ static struct login_vars {
{ "lang", "LANG", NULL },
{ "charset", "MM_CHARSET", NULL },
{ "timezone", "TZ", NULL },
- { "term", "TERM", UNKNOWN },
+ { "term", "TERM", NULL },
{ NULL, NULL, NULL }
};
OpenPOWER on IntegriCloud