summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/window.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-09-20 14:58:12 +0000
committernicm <nicm@openbsd.org>2009-09-20 14:58:12 +0000
commit85d997dce70e26fe1f89d6c92f6b3e34ad197a1c (patch)
treee0948db89f23cef27d9437ebc3011ccff2d637d7 /usr.bin/tmux/window.c
parentsync (diff)
downloadwireguard-openbsd-85d997dce70e26fe1f89d6c92f6b3e34ad197a1c.tar.xz
wireguard-openbsd-85d997dce70e26fe1f89d6c92f6b3e34ad197a1c.zip
Regularise some fatal messages.
Diffstat (limited to 'usr.bin/tmux/window.c')
-rw-r--r--usr.bin/tmux/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c
index ecc4646d321..07396c8d7c2 100644
--- a/usr.bin/tmux/window.c
+++ b/usr.bin/tmux/window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window.c,v 1.25 2009/09/16 12:35:04 nicm Exp $ */
+/* $OpenBSD: window.c,v 1.26 2009/09/20 14:58:12 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -480,7 +480,7 @@ window_pane_spawn(struct window_pane *wp, const char *cmd, const char *shell,
ws.ws_row = screen_size_y(&wp->base);
if (gettimeofday(&wp->window->name_timer, NULL) != 0)
- fatal("gettimeofday");
+ fatal("gettimeofday failed");
tv.tv_sec = 0;
tv.tv_usec = NAME_INTERVAL * 1000L;
timeradd(&wp->window->name_timer, &tv, &wp->window->name_timer);