Sync OpenBSD patchset 985:

Log terminal overrides.
This commit is contained in:
Tiago Cunha 2011-12-06 18:48:45 +00:00
parent 876f46abb9
commit f308663ad4

View File

@ -266,6 +266,8 @@ tty_term_override(struct tty_term *term, const char *overrides)
} else
val = xstrdup("");
log_debug("%s override: %s %s",
term->name, entstr, removeflag ? "@" : val);
for (i = 0; i < NTTYCODE; i++) {
ent = &tty_term_codes[i];
if (strcmp(entstr, ent->name) != 0)