=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/status.c,v retrieving revision 1.33 retrieving revision 1.34 diff -c -r1.33 -r1.34 *** src/usr.bin/tmux/status.c 2009/09/10 17:16:24 1.33 --- src/usr.bin/tmux/status.c 2009/09/20 14:58:12 1.34 *************** *** 1,4 **** ! /* $OpenBSD: status.c,v 1.33 2009/09/10 17:16:24 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: status.c,v 1.34 2009/09/20 14:58:12 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 64,70 **** screen_init(&c->status, c->tty.sx, 1, 0); if (gettimeofday(&c->status_timer, NULL) != 0) ! fatal("gettimeofday"); memcpy(&stdgc, &grid_default_cell, sizeof gc); colour_set_fg(&stdgc, options_get_number(&s->options, "status-fg")); colour_set_bg(&stdgc, options_get_number(&s->options, "status-bg")); --- 64,70 ---- screen_init(&c->status, c->tty.sx, 1, 0); if (gettimeofday(&c->status_timer, NULL) != 0) ! fatal("gettimeofday failed"); memcpy(&stdgc, &grid_default_cell, sizeof gc); colour_set_fg(&stdgc, options_get_number(&s->options, "status-fg")); colour_set_bg(&stdgc, options_get_number(&s->options, "status-bg")); *************** *** 361,367 **** case 'H': if (ptr == NULL) { if (gethostname(tmp, sizeof tmp) != 0) ! fatal("gethostname"); ptr = tmp; } /* FALLTHROUGH */ --- 361,367 ---- case 'H': if (ptr == NULL) { if (gethostname(tmp, sizeof tmp) != 0) ! fatal("gethostname failed"); ptr = tmp; } /* FALLTHROUGH */ *************** *** 565,571 **** tv.tv_usec = (delay % 1000) * 1000L; if (gettimeofday(&c->message_timer, NULL) != 0) ! fatal("gettimeofday"); timeradd(&c->message_timer, &tv, &c->message_timer); c->tty.flags |= (TTY_NOCURSOR|TTY_FREEZE); --- 565,571 ---- tv.tv_usec = (delay % 1000) * 1000L; if (gettimeofday(&c->message_timer, NULL) != 0) ! fatal("gettimeofday failed"); timeradd(&c->message_timer, &tv, &c->message_timer); c->tty.flags |= (TTY_NOCURSOR|TTY_FREEZE);