diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-12-12 01:01:11 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-12-12 01:01:11 +0000 |
commit | 7459be544eb11162be8af09c77d349f8213df51a (patch) | |
tree | c54b007f6b828a4345b273e6e131fe6b8b6c323c /tmux.c | |
parent | b70be285b79f120d05c757e756178442c614cad8 (diff) | |
download | rtmux-7459be544eb11162be8af09c77d349f8213df51a.tar.gz rtmux-7459be544eb11162be8af09c77d349f8213df51a.tar.bz2 rtmux-7459be544eb11162be8af09c77d349f8213df51a.zip |
Sync OpenBSD patchset 586:
Use quiet variable, and add missing sentinel to options array.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.194 2009-12-10 16:59:02 tcunha Exp $ */ +/* $Id: tmux.c,v 1.195 2009-12-12 01:01:11 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -232,7 +232,7 @@ main(int argc, char **argv) char cwd[MAXPATHLEN], **var; void *buf; size_t len; - int opt, flags, quiet, cmdflags = 0; + int opt, flags, quiet = 0, cmdflags = 0; short events; #if defined(DEBUG) && defined(__OpenBSD__) @@ -319,7 +319,7 @@ main(int argc, char **argv) options_init(&global_options, NULL); oo = &global_options; - options_set_number(oo, "quiet", 0); + options_set_number(oo, "quiet", quiet); options_init(&global_s_options, NULL); so = &global_s_options; |