=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/status.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -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 +1,4 @@ -/* $OpenBSD: status.c,v 1.33 2009/09/10 17:16:24 nicm Exp $ */ +/* $OpenBSD: status.c,v 1.34 2009/09/20 14:58:12 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -64,7 +64,7 @@ screen_init(&c->status, c->tty.sx, 1, 0); if (gettimeofday(&c->status_timer, NULL) != 0) - fatal("gettimeofday"); + 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,7 +361,7 @@ case 'H': if (ptr == NULL) { if (gethostname(tmp, sizeof tmp) != 0) - fatal("gethostname"); + fatal("gethostname failed"); ptr = tmp; } /* FALLTHROUGH */ @@ -565,7 +565,7 @@ tv.tv_usec = (delay % 1000) * 1000L; if (gettimeofday(&c->message_timer, NULL) != 0) - fatal("gettimeofday"); + fatal("gettimeofday failed"); timeradd(&c->message_timer, &tv, &c->message_timer); c->tty.flags |= (TTY_NOCURSOR|TTY_FREEZE);