summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2016-05-20 07:54:30 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2016-05-20 07:54:30 +0100
commit7411f21c5f9dbc64d98538ad3df8d4b25e1988ba (patch)
tree68e51beb9da6a2cb038a0af9acb43db40c4d97fb /tmux.c
parent2377092a70db3327cbeb07328ea8422d0395edc4 (diff)
Use osdep_event_init() so that LIBEVENT_NOEPOLL and so on are set to turn off
broken event methods. Reported by Suraj N Kurapati.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index aa6d331a..345f9e0c 100644
--- a/tmux.c
+++ b/tmux.c
@@ -337,5 +337,5 @@ main(int argc, char **argv)
free(label);
/* Pass control to the client. */
- exit(client_main(event_init(), argc, argv, flags, shellcmd));
+ exit(client_main(osdep_event_init(), argc, argv, flags, shellcmd));
}