Merge branch 'obsd-master' into master

This commit is contained in:
Thomas Adam
2021-08-25 10:01:10 +01:00
6 changed files with 13 additions and 12 deletions

View File

@ -670,7 +670,7 @@ tty_term_read_list(const char *name, int fd, char ***caps, u_int *ncaps,
const char *s;
char tmp[11];
if (setupterm(name, fd, &error) != OK) {
if (setupterm((char *)name, fd, &error) != OK) {
switch (error) {
case 1:
xasprintf(cause, "can't use hardcopy terminal: %s",