summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-08-28 07:55:44 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-08-28 07:55:44 +0000
commitb60ffcfd2e3df9903870b3b3d10b0e13a9e4dc00 (patch)
treeebe176e5c6f32adc7c45d71283412acd0b4fbf6d
parent158c758daaf79bc290f2f874b8546c10783f5c64 (diff)
Error messages should not have a trailing period.
-rw-r--r--usr.bin/tmux/server-window.c4
-rw-r--r--usr.bin/tmux/window.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/server-window.c b/usr.bin/tmux/server-window.c
index 933b0b45f8f..825a1176a17 100644
--- a/usr.bin/tmux/server-window.c
+++ b/usr.bin/tmux/server-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-window.c,v 1.35 2015/05/12 15:27:46 nicm Exp $ */
+/* $OpenBSD: server-window.c,v 1.36 2015/08/28 07:55:43 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -147,7 +147,7 @@ server_window_check_silence(struct session *s, struct winlink *wl)
* from this window.
*/
if (gettimeofday(&w->silence_timer, NULL) != 0)
- fatal("gettimeofday failed.");
+ fatal("gettimeofday failed");
return (0);
}
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c
index 85589bc98d0..ae0aa6a1921 100644
--- a/usr.bin/tmux/window.c
+++ b/usr.bin/tmux/window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window.c,v 1.136 2015/08/28 07:49:24 nicm Exp $ */
+/* $OpenBSD: window.c,v 1.137 2015/08/28 07:55:43 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -934,7 +934,7 @@ window_pane_read_callback(unused struct bufferevent *bufev, void *data)
*/
wp->window->flags |= WINDOW_SILENCE;
if (gettimeofday(&wp->window->silence_timer, NULL) != 0)
- fatal("gettimeofday failed.");
+ fatal("gettimeofday failed");
return;
start_timer: