summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2014-02-23 00:53:06 +0000
committernicm <nicm@openbsd.org>2014-02-23 00:53:06 +0000
commit807352cf2a9d934df6477ae2c4d262fda45801b2 (patch)
tree20bbb752a0e93b6118652f75b387f7210848ca97 /usr.bin/tmux/tty.c
parent/etc/random.seed support in the boot blocks (only when loading from disk). (diff)
downloadwireguard-openbsd-807352cf2a9d934df6477ae2c4d262fda45801b2.tar.xz
wireguard-openbsd-807352cf2a9d934df6477ae2c4d262fda45801b2.zip
Change terminal-overrides to a server option (now that we have them), it
doesn't make much sense as a session option.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index 80e09b6da0b..ae1cce2b1d6 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.165 2014/02/14 14:37:08 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.166 2014/02/23 00:53:06 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -128,7 +128,7 @@ tty_set_size(struct tty *tty, u_int sx, u_int sy) {
}
int
-tty_open(struct tty *tty, const char *overrides, char **cause)
+tty_open(struct tty *tty, char **cause)
{
char out[64];
int fd;
@@ -141,7 +141,7 @@ tty_open(struct tty *tty, const char *overrides, char **cause)
tty->log_fd = fd;
}
- tty->term = tty_term_find(tty->termname, tty->fd, overrides, cause);
+ tty->term = tty_term_find(tty->termname, tty->fd, cause);
if (tty->term == NULL) {
tty_close(tty);
return (-1);